BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2024-3866

MEDIUM 6.1 CVSS 3.1
Published
September 25, 2024
Last modified
June 17, 2026
NVD status
Analyzed
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Affected WordPress components

  • Ninja Forms – The Contact Form Builder That Grows With You Plugin · ninja-forms
    Confirmed match Active
    Up to and including 3.8.15
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • kstover Ninja Forms – The Contact Form Builder That Grows With You — Up to and including 3.8.15
  • ninjaforms ninja_forms — Before 3.8.16

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3153292/ninja-forms Patch
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/f6d6b82d-574d-4a56-9aef-42343c4b7c43?source=cve Third Party Advisory
  • nvd.nist.gov Official NVD record