XSS in Kstover Ninja Forms – The Contact Form Builder That Grows With You
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (21.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@wordfence.com (Third Party Advisory)
- security@wordfence.com (Patch)
Frequently asked questions
- What is CVE-2024-3866?
- CVE-2024-3866 is a medium-severity vulnerability in Kstover Ninja Forms – The Contact Form Builder That Grows With You, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2024-09-25.
- How severe is CVE-2024-3866?
- Medium severity. CVSS v3 base score is 4.7 out of 10.
- Is CVE-2024-3866 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.