CVE-2025-54015 WordPress HT Contact Form 7 plugin <= 2.0.0 - Local File Inclusion Vulnerability

Medium 6.6 Published Updated

Attackers can exploit a local file inclusion flaw in the HT Contact Form 7 plugin to read sensitive files or execute arbitrary code.

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

What is CVE-2025-54015?

CVE-2025-54015 is a medium-severity path traversal vulnerability in HT Contact Form 7, published on 16 Jul 2025. An attacker needs administrator access to exploit it, 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 HT Plugins HT Contact Form 7 ht-contactform allows PHP Local File Inclusion.This issue affects HT Contact Form 7: from n/a through <= 2.0.0.

Weakness: CWE-98

Which versions are affected by CVE-2025-54015?

How do I fix CVE-2025-54015?

No fix has been published for CVE-2025-54015 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-54015 being exploited?

There is no known exploitation of CVE-2025-54015 in the wild and no public exploit code.

Sources

Also known as GHSA-62c6-8cw5-3hfr.

Is CVE-2025-54015 in your software?

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

Check your SBOMs for free