CVE-2024-0386: The weForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Referer' HTTP header in
CVE-2024-0386 is a high-severity flaw (CVSS 7.2) affecting weforms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The weForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Referer' HTTP header in all versions up to, and including, 1.6.21 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-03-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-0386?
weforms: upgrade to 1.6.22. Exact commands for each OS are on this page.
Is CVE-2024-0386 being exploited?
CVE-2024-0386 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-0386 affect?
CVE-2024-0386 affects weforms. Severity is high (CVSS 7.2). The weForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Referer' HTTP header in all versions up to, and including, 1.6.21 due to insufficient input sanitization and output escaping. This makes it possible for
How urgent is CVE-2024-0386?
Priority 42/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-30512 LOW 3.7 UPGRADE Missing Authorization vulnerability in weForms.This issue affects weForms: from n/a through 1.6.20.
- CVE-2023-51524 MEDIUM 4.3 UPGRADE Missing Authorization vulnerability in weForms.This issue affects weForms: from n/a through 1.6.18.
- CVE-2023-50896 MEDIUM 5.9 UPGRADE Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in weForms