First published: Wed Sep 25 2024(Updated: )
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.
Credit: security@wordfence.com
Affected Software | Affected Version | How to fix |
---|---|---|
Ninja Forms | <3.8.16 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-3866 is classified as a medium severity vulnerability due to its potential for reflected cross-site scripting (XSS) attacks.
To fix CVE-2024-3866, update the Ninja Forms Contact Form plugin to version 3.8.16 or later.
All users of the Ninja Forms Contact Form plugin for WordPress with versions up to and including 3.8.15 are affected by CVE-2024-3866.
CVE-2024-3866 is a reflected self-based cross-site scripting (XSS) vulnerability.
Yes, CVE-2024-3866 can be exploited by unauthenticated users due to the nature of its reflected XSS vulnerability.