CVE-2024-3866: The Ninja Forms Contact Form plugin for WordPress is vulnerable to Reflected Self-Based Cross-Site Scripting v
CVE-2024-3866 is a medium-severity flaw (CVSS 4.7) affecting ninja forms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Ninja Forms Contact Form plugin for WordPress is vulnerable to Reflected Self-Based Cross-Site Scripting via the 'Referer' header in all versions up to, and including, 3.8.15 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Successful e
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.7 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 78%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-09-25 |
| 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-3866?
ninja forms: upgrade to 3.8.16. Exact commands for each OS are on this page.
Is CVE-2024-3866 being exploited?
CVE-2024-3866 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-3866 affect?
CVE-2024-3866 affects ninja forms. Severity is medium (CVSS 4.7). The Ninja Forms Contact Form plugin for WordPress is vulnerable to Reflected Self-Based Cross-Site Scripting via the 'Referer' header in all versions up to, and including, 3.8.15 due to insufficient input sanitization and output escaping. T
How urgent is CVE-2024-3866?
Priority 22/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-10498 MEDIUM 4.3 UPGRADE The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Cross-Sit
- CVE-2025-10499 MEDIUM 4.3 UPGRADE The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Cross-Sit
- CVE-2025-11924 HIGH 7.5 UPGRADE The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Insecure
- CVE-2025-9083 CRITICAL 9.8 UPGRADE The Ninja Forms WordPress plugin before 3.11.1 unserializes user input via form field, which could allow Unau
- CVE-2025-5398 MEDIUM 6.4 UPGRADE The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Stored Cr