CVE-2025-54020 WordPress AntiSpam for Contact Form 7 plugin <= 0.6.3 - Cross Site Request Forgery (CSRF) Vulnerability

Medium 5.4 Published Updated

Attackers can trick users into performing unintended actions in the AntiSpam for Contact Form 7 plugin, bypassing security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-54020?

CVE-2025-54020 is a medium-severity vulnerability in Erik AntiSpam for Contact Form 7, published on 16 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-Site Request Forgery (CSRF) vulnerability in Erik AntiSpam for Contact Form 7 cf7-antispam allows Cross Site Request Forgery.This issue affects AntiSpam for Contact Form 7: from n/a through <= 0.6.3.

Weakness: CWE-352

Which versions are affected by CVE-2025-54020?

How do I fix CVE-2025-54020?

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

Is CVE-2025-54020 being exploited?

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

Sources

Also known as GHSA-q5h2-355w-fgr6.

Is CVE-2025-54020 in your software?

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

Check your SBOMs for free