Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-29117 Overview
CVE-2024-29117 is a stored Cross-Site Scripting (XSS) vulnerability in the Contact Forms by Cimatti plugin for WordPress. The flaw affects all versions up to and including 1.7.0 and stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Unauthenticated attackers can inject malicious scripts that persist in the application and execute in the browser context of users who later view the affected pages. The vulnerability requires user interaction to trigger payload execution but needs no privileges, making public-facing contact form submissions a viable injection vector.
Critical Impact
Unauthenticated attackers can store malicious JavaScript through the plugin's contact form interface, leading to session theft, credential harvesting, or administrative account takeover when administrators view submitted entries.
Affected Products
- Cimatti Consulting Contact Forms by Cimatti plugin for WordPress
- All versions from n/a through 1.7.0
- WordPress sites running the vulnerable plugin on any supported WordPress version
Discovery Timeline
- 2024-03-19 - CVE-2024-29117 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-29117
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the Contact Forms by Cimatti WordPress plugin. Stored XSS, categorized under [CWE-79], occurs when an application saves attacker-controlled input and later renders it in HTML output without proper encoding or sanitization. In this case, the attack vector is network-based and requires no authentication, so any visitor capable of submitting data through the plugin can plant a payload. The scope changes when the payload executes, meaning the injected script runs beyond the vulnerable component and can affect other users such as administrators reviewing form submissions through the WordPress dashboard.
Root Cause
The root cause is missing or insufficient input sanitization and output encoding on data processed by the Contact Forms by Cimatti plugin through version 1.7.0. The plugin fails to neutralize HTML control characters and script tags before rendering stored content, allowing injected JavaScript to execute in a trusted browser context. See the Patchstack Vulnerability Advisory for additional technical details.
Attack Vector
An unauthenticated attacker submits a crafted payload through a public contact form rendered by the plugin. The payload is stored in the WordPress database and persists until the vulnerable content is viewed. When an administrator or privileged user opens the submission in the WordPress admin interface, the browser executes the attacker-controlled JavaScript. This execution can be used to hijack session cookies, perform actions on behalf of the victim, or pivot to further compromise of the WordPress installation.
Detection Methods for CVE-2024-29117
Indicators of Compromise
- Contact form entries containing HTML tags such as <script>, <img onerror=...>, <svg>, or event handler attributes like onload, onerror, and onmouseover.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after viewing form submissions.
- Creation of new WordPress administrator accounts or modification of user roles without a corresponding legitimate admin action.
- Suspicious entries in WordPress option tables or post metadata referencing JavaScript URIs or encoded script payloads.
Detection Strategies
- Review stored contact form submissions for payloads containing script tags, JavaScript event handlers, or javascript: URIs.
- Monitor the WordPress admin interface for anomalous JavaScript execution using browser Content Security Policy (CSP) violation reports.
- Correlate administrator session activity with inbound requests to the contact form endpoint to identify potential payload delivery.
Monitoring Recommendations
- Enable web application firewall (WAF) logging for POST requests to the Cimatti contact form endpoints and alert on HTML or script content in form fields.
- Track plugin version inventory across managed WordPress sites to identify installations still running Contact Forms by Cimatti 1.7.0 or earlier.
- Audit WordPress user, role, and option changes continuously and alert on changes that occur immediately after admin review of contact submissions.
How to Mitigate CVE-2024-29117
Immediate Actions Required
- Update Contact Forms by Cimatti to a version later than 1.7.0 that addresses the stored XSS flaw.
- Review existing contact form submissions in the WordPress database and purge any entries containing script tags or JavaScript event handlers.
- Rotate credentials and invalidate sessions for any WordPress administrator who may have viewed malicious submissions.
- Deploy a WordPress-aware WAF rule set to block XSS payloads targeting the plugin's submission endpoint.
Patch Information
Refer to the Patchstack Vulnerability Advisory for the current fixed version and vendor-published patch details. Apply the fixed release through the WordPress plugin updater and verify the installed version in the WordPress admin dashboard.
Workarounds
- Deactivate and remove the Contact Forms by Cimatti plugin until the patched version is installed if an immediate update is not feasible.
- Restrict access to the WordPress admin interface by IP allowlisting to reduce exposure of administrators to stored payloads.
- Enforce a strict Content Security Policy on WordPress admin pages to limit inline script execution and external resource loading.
# Example WordPress CLI commands to inventory and disable the vulnerable plugin
wp plugin list --name=contact-forms --fields=name,status,version
wp plugin deactivate contact-forms
wp plugin update contact-forms
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

