CVE-2024-3866
CVE-2024-3866 is a medium-severity vulnerability in Ninjaforms Ninja Forms with a CVSS 3.x base score of 4.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 4.7)
- EPSS exploit prediction: 0% (19th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-32434
- Weakness: CWE-79
- Affected product: Ninjaforms Ninja Forms
- Published:
- Last modified:
Description
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 exploitation of this vulnerability requires "maintenance mode" for a targeted form to be enabled. However, there is no setting available to the attacker or even an administrator-level user to enable this mode. The mode is only enabled during a required update, which is a very short window of time. Additionally, because of the self-based nature of this vulnerability, attackers would have to rely on additional techniques to execute a supplied payload in the context of targeted user.
Frequently asked questions
- What is CVE-2024-3866?
- 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 exploitation of this vulnerability requires "maintenance mode" for a targeted form to be enabled. However, there is no setting available to the attacker or even an administrator-level user to enable this mode. The mode is only enabled during a required update, which is a very short window of time. Additionally, because of the self-based nature of this vulnerability, attackers would have to rely on additional techniques to execute a supplied payload in the context of targeted user.
- How severe is CVE-2024-3866?
- CVE-2024-3866 has a CVSS 3.x base score of 4.7, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-3866 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (19th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-3866?
- CVE-2024-3866 affects Ninjaforms Ninja Forms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-3866?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-3866 have an EU (EUVD) identifier?
- Yes. CVE-2024-3866 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-32434.
- When was CVE-2024-3866 published?
- CVE-2024-3866 was published on 2024-09-25 and last updated on 2026-06-17.
References
- https://plugins.trac.wordpress.org/changeset/3153292/ninja-forms
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6d6b82d-574d-4a56-9aef-42343c4b7c43?source=cve
Affected products (1)
- cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
More vulnerabilities in Ninjaforms Ninja Forms
- CVE-2025-9083 — Critical (CVSS 9.8): The Ninja Forms WordPress plugin before 3.11.1 unserializes user input via form field, which could allow…
- CVE-2016-1209 — Critical (CVSS 9.8): The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks…
- CVE-2018-20981 — Critical (CVSS 9.1): The ninja-forms plugin before 3.3.9 for WordPress has insufficient restrictions on submission-data retrieval during…
- CVE-2024-25572 — High (CVSS 8.8): Cross-site request forgery (CSRF) vulnerability exists in Ninja Forms prior to 3.4.31. If a website administrator views…
- CVE-2021-24163 — High (CVSS 8.8): The AJAX action, wp_ajax_ninja_forms_sendwp_remote_install_handler, did not have a capability check on it, nor did it…
- CVE-2018-16308 — High (CVSS 8.6): The Ninja Forms plugin before 3.3.14.1 for WordPress allows CSV injection.
All CVEs affecting Ninjaforms Ninja Forms →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →