Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Michele Giorgi Formality formality allows PHP Local File Inclusion.This issue affects Formality: from n/a through <= 1.5.9.
Published: 2025-08-20
Score: 8.1 High
EPSS: 2.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Formality WordPress plugin stems from improper validation of filenames used in PHP include/require statements, enabling Local File Inclusion. An attacker that can influence the include path can read any file on the server that the web server process can access, and in some circumstances may execute arbitrary PHP code. This weakness is classified as CWE‑98, indicating insufficient sanitization of include paths.

Affected Systems

The issue affects all releases of the Formality plugin by Michele Giorgi that are version 1.5.9 or earlier.

Risk and Exploitability

With a CVSS score of 8.1 the vulnerability is considered high severity. The EPSS score of 2% indicates a low probability of widespread exploitation at this time, and the vulnerability is not listed in CISA KEV. The likely attack vector is an attacker submitting a crafted request that the plugin processes to build the include path, such as a malicious query string or form field. Because the flaw allows inclusion of arbitrary local files, an attacker can read confidential data or execute code if the included file contains PHP code and the server interprets it.

Generated by OpenCVE AI on June 18, 2026 at 06:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Formality plugin version (any release newer than 1.5.9) to remove the LFI flaw.
  • If an update is not immediately possible, restrict the plugin’s include paths by sanitizing any user‑supplied values and removing unsanitized include calls, thereby mitigating CWE‑98.
  • Configure PHP’s open_basedir or similar restrictions to limit the web server’s file inclusion privileges, ensuring only the plugin’s directory and safe locations are accessible.

Generated by OpenCVE AI on June 18, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-25375 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Michele Giorgi Formality allows PHP Local File Inclusion. This issue affects Formality: from n/a through 1.5.9.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Michele Giorgi Formality allows PHP Local File Inclusion. This issue affects Formality: from n/a through 1.5.9. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Michele Giorgi Formality formality allows PHP Local File Inclusion.This issue affects Formality: from n/a through <= 1.5.9.
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 24 Aug 2025 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Giorgi
Giorgi formality
Wordpress
Wordpress wordpress
Vendors & Products Giorgi
Giorgi formality
Wordpress
Wordpress wordpress

Wed, 20 Aug 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 20 Aug 2025 08:15:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Michele Giorgi Formality allows PHP Local File Inclusion. This issue affects Formality: from n/a through 1.5.9.
Title WordPress Formality <= 1.5.9 - Local File Inclusion Vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Giorgi Formality
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:52.851Z

Reserved: 2025-05-15T18:02:03.511Z

Link: CVE-2025-48157

cve-icon Vulnrichment

Updated: 2025-08-20T17:41:44.489Z

cve-icon NVD

Status : Deferred

Published: 2025-08-20T08:15:31.367

Modified: 2026-06-17T09:29:15.100

Link: CVE-2025-48157

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T06:30:16Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')