Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-3866: The Ninja Forms Contact Form plugin for WordPress is vulnerable to Reflected Self-Based Cross-Site Scripting v

22
Routine
MEDIUM 4.7UPGRADE

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 score4.7 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.3% (top 78%)
CISA exploited listNo
WeaknessCWE-79
Published2024-09-25
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: ninjaforms

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ninjaforms ninja forms UPGRADE
Affected: < 3.8.16
Fixed in: 3.8.16
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ninja-forms || rpm -q ninja-forms || ninja-forms --version
2. UPGRADE to 3.8.16 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ninja-forms
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ninja-forms
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

WordPress vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.