Ninja Forms <= 3.15.5 - Unauthenticated Stored Cross-Site Scripting via 'extra' Parameter via Metadata Key Normalization
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Ninja Forms contact form plugin for WordPress is affected, allowing unauthenticated visitors to store malicious scripts through its form submission handling. When other users, including site administrators, view the affected page, those scripts can run in their browsers, potentially enabling session hijacking, unauthorized actions, or theft of sensitive information.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
The Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'formData.extra' parameter in all versions up to, and including, 3.15.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nf_ajax_submit endpoint issues a valid nonce to any requester on failure, effectively neutralizing the nonce check and making exploitation trivially achievable in a single unauthenticated request.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- kstover Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder
through 3.15.5
References 9
plugins.trac.wordpress.org
- browser/ninja-forms/tags/3.15.5/includes/Templates/admin-metaboxes-calcs.html.php#L4
- browser/ninja-forms/tags/3.15.5/includes/AJAX/Controllers/Submission.php#L52
- browser/ninja-forms/tags/3.15.5/includes/AJAX/Controllers/Submission.php#L428
- browser/ninja-forms/tags/3.15.5/includes/Actions/Save.php#L311
- browser/ninja-forms/tags/3.15.5/includes/Database/Models/Submission.php#L731
- browser/ninja-forms/tags/3.15.5/includes/Admin/Metaboxes/Calculations.php#L23
- changeset/3749135/ninja-forms/trunk/includes/Templates/admin-metaboxes-calcs.html.php