Ninja Forms Contact Form <= 3.8.15 - Reflected Self-Based Cross-Site Scripting via Referer
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Saturday Drive | Ninja Forms – The Contact Form Builder That Grows With You | up to 3.8.15 | — | No fix listed | CNA |
- Ninja Forms – The Contact Form Builder That Grows With You VendorSaturday Drive Affected up to 3.8.15 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:* | before 3.8.16 | Vulnerable | Saturday Drive |
- cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:* Versions before 3.8.16 Vulnerable ·Saturday Drive
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3866
- 2026-10-03 Alias added: GHSA-hj6g-33gj-29m6
References
More Saturday Drive Ninja Forms vulnerabilities
- TI-2025-08325 Ninja-forms < 3.11.1 - Unauthenticated PHP Objection CVSS 3.1CRITICAL 9.8
- TI-2016-01107 The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct… CVSS 3.0CRITICAL 9.8
- TI-2023-19777 WordPress Ninja Forms plugin <= 3.6.25 - Subscriber+ Broken Access Control vulnerability CVSS 3.1HIGH 8.8
- TI-2022-02691 NinjaForms < 3.6.13 - Admin+ PHP Objection Injection CVSS 3.1HIGH 7.2
- TI-2024-06815 Ninja Forms 3.8.6-3.8.10 - Reflected XSS CVSS 3.1MEDIUM 6.1
- TI-2023-01723 Ninja Forms < 3.6.22 - Reflected XSS CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-3866 · CVE Program
- CVE-2024-3866 · NVD
- FIRST EPSS
- GHSA-hj6g-33gj-29m6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences