Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ninjaforms | Ninja Forms | < 3.8.16 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/changeset/3153292/ninja-formsPatch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6d6b82d-574d-4a56-9aeThird Party Advisory
FAQ
What is CVE-2024-3866?
CVE-2024-3866 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 i...
How severe is CVE-2024-3866?
CVE-2024-3866 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-3866?
Check the references section above for vendor advisories and patch information. Affected products include: Ninjaforms Ninja Forms.