CVE-2025-48157 WordPress Formality <= 1.5.9 - Local File Inclusion Vulnerability

High 8.1 Published Updated

Attackers can exploit a local file inclusion vulnerability in the Formality WordPress plugin to read arbitrary files from the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-48157?

CVE-2025-48157 is a high-severity path traversal vulnerability in Michele Giorgi Formality, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-98

Which versions are affected by CVE-2025-48157?

How do I fix CVE-2025-48157?

No fix has been published for CVE-2025-48157 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-48157 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48157 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-84rq-p3p2-9rxf.

Is CVE-2025-48157 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free