CVE-2024-2108: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kstover Ninja Forms – The Contact Form Builder That Grows With You
The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via an image title embedded into a form in all versions up to, and including, 3.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of input during web page generation (CWE-79) in the Ninja Forms Contact Form plugin for WordPress. Specifically, the plugin fails to adequately sanitize and escape the image title field embedded in forms, allowing stored cross-site scripting attacks. Authenticated attackers with author-level access or above can inject arbitrary JavaScript code that executes in the context of users viewing the compromised form pages. The vulnerability affects all plugin versions up to 3.8.0. The CVSS 3.1 base score is 4.6, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges and user interaction.
Potential Impact
Successful exploitation allows an authenticated user with author-level permissions or higher to inject malicious scripts into form pages. These scripts execute in the browsers of users who access the injected pages, potentially leading to session hijacking, defacement, or other script-based attacks. The impact is limited by the requirement for authenticated access with author-level privileges and user interaction to trigger the script execution. There is no indication of denial of service or direct system compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit author-level access to trusted users only and consider disabling or restricting the use of image titles in forms. Monitor for updates from the plugin vendor or WordPress security advisories to apply any forthcoming patches promptly.
CVE-2024-2108: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kstover Ninja Forms – The Contact Form Builder That Grows With You
Description
The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via an image title embedded into a form in all versions up to, and including, 3.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of input during web page generation (CWE-79) in the Ninja Forms Contact Form plugin for WordPress. Specifically, the plugin fails to adequately sanitize and escape the image title field embedded in forms, allowing stored cross-site scripting attacks. Authenticated attackers with author-level access or above can inject arbitrary JavaScript code that executes in the context of users viewing the compromised form pages. The vulnerability affects all plugin versions up to 3.8.0. The CVSS 3.1 base score is 4.6, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges and user interaction.
Potential Impact
Successful exploitation allows an authenticated user with author-level permissions or higher to inject malicious scripts into form pages. These scripts execute in the browsers of users who access the injected pages, potentially leading to session hijacking, defacement, or other script-based attacks. The impact is limited by the requirement for authenticated access with author-level privileges and user interaction to trigger the script execution. There is no indication of denial of service or direct system compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit author-level access to trusted users only and consider disabling or restricting the use of image titles in forms. Monitor for updates from the plugin vendor or WordPress security advisories to apply any forthcoming patches promptly.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-01T18:34:17.648Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6da6b7ef31ef0b58a211
Added to database: 2/25/2026, 9:46:14 PM
Last enriched: 4/9/2026, 1:54:30 PM
Last updated: 4/12/2026, 2:34:33 PM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.