CVE-2024-7056: CWE-79 Cross-Site Scripting (XSS) in WPForms
The WPForms WordPress plugin before 1.9.1.6 does not sanitise and escape some of its settings, which could allow high privilege users such as Admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).
AI Analysis
Technical Summary
CVE-2024-7056 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WPForms WordPress plugin, affecting all versions before 1.9.1.6. The root cause is the plugin's failure to properly sanitize and escape certain settings fields, which allows high-privilege users—specifically administrators—to inject malicious JavaScript code that is stored and later executed in the context of other users or administrators. This vulnerability is notable because it bypasses the typical WordPress security control of the unfiltered_html capability, which is often disabled in multisite environments to prevent script injection. The attack vector requires the attacker to have administrator privileges and involves user interaction, such as viewing the affected settings page where the malicious script executes. The CVSS v3.1 score of 3.5 reflects a low severity, considering the attack complexity is low but requires high privileges and user interaction. The impact primarily affects confidentiality and integrity by potentially allowing session hijacking, privilege escalation, or unauthorized actions via script execution. Availability is not impacted. No public exploits have been reported, indicating limited current exploitation. The vulnerability was reserved in July 2024 and published in November 2024. WPForms is a widely used form-building plugin for WordPress, making this vulnerability relevant to many websites, especially those with multisite configurations.
Potential Impact
For European organizations, the impact of CVE-2024-7056 depends largely on the extent of WPForms usage and the security posture of their WordPress installations. Successful exploitation could allow an attacker with admin rights to execute arbitrary JavaScript, leading to session hijacking, data theft, or unauthorized administrative actions. This could compromise sensitive customer data, internal communications, or website integrity. In multisite environments common in large enterprises or hosting providers, the risk is amplified because the vulnerability bypasses the unfiltered_html restriction, potentially affecting multiple sites under one network. Although the severity is rated low, the presence of high-privilege attackers or insider threats could elevate the risk. European organizations in sectors such as e-commerce, media, education, and government that rely on WordPress and WPForms are particularly at risk. The reputational damage and regulatory consequences under GDPR for data breaches caused by such vulnerabilities could be significant.
Mitigation Recommendations
The primary mitigation is to update WPForms to version 1.9.1.6 or later, where the vulnerability is patched. Organizations should audit their WordPress installations to identify and upgrade all instances of WPForms. Additionally, restrict administrator access to trusted personnel only and enforce strong authentication mechanisms such as MFA to reduce the risk of credential compromise. In multisite environments, review and tighten user role assignments and capabilities to minimize unnecessary admin privileges. Implement web application firewalls (WAF) with rules to detect and block suspicious script injections in form settings. Regularly monitor logs for unusual admin activity or unexpected changes in plugin settings. Employ Content Security Policy (CSP) headers to limit the impact of any injected scripts. Finally, conduct security awareness training for administrators to recognize and report suspicious behavior.
Affected Countries
United Kingdom, Germany, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2024-7056: CWE-79 Cross-Site Scripting (XSS) in WPForms
Description
The WPForms WordPress plugin before 1.9.1.6 does not sanitise and escape some of its settings, which could allow high privilege users such as Admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).
AI-Powered Analysis
Technical Analysis
CVE-2024-7056 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WPForms WordPress plugin, affecting all versions before 1.9.1.6. The root cause is the plugin's failure to properly sanitize and escape certain settings fields, which allows high-privilege users—specifically administrators—to inject malicious JavaScript code that is stored and later executed in the context of other users or administrators. This vulnerability is notable because it bypasses the typical WordPress security control of the unfiltered_html capability, which is often disabled in multisite environments to prevent script injection. The attack vector requires the attacker to have administrator privileges and involves user interaction, such as viewing the affected settings page where the malicious script executes. The CVSS v3.1 score of 3.5 reflects a low severity, considering the attack complexity is low but requires high privileges and user interaction. The impact primarily affects confidentiality and integrity by potentially allowing session hijacking, privilege escalation, or unauthorized actions via script execution. Availability is not impacted. No public exploits have been reported, indicating limited current exploitation. The vulnerability was reserved in July 2024 and published in November 2024. WPForms is a widely used form-building plugin for WordPress, making this vulnerability relevant to many websites, especially those with multisite configurations.
Potential Impact
For European organizations, the impact of CVE-2024-7056 depends largely on the extent of WPForms usage and the security posture of their WordPress installations. Successful exploitation could allow an attacker with admin rights to execute arbitrary JavaScript, leading to session hijacking, data theft, or unauthorized administrative actions. This could compromise sensitive customer data, internal communications, or website integrity. In multisite environments common in large enterprises or hosting providers, the risk is amplified because the vulnerability bypasses the unfiltered_html restriction, potentially affecting multiple sites under one network. Although the severity is rated low, the presence of high-privilege attackers or insider threats could elevate the risk. European organizations in sectors such as e-commerce, media, education, and government that rely on WordPress and WPForms are particularly at risk. The reputational damage and regulatory consequences under GDPR for data breaches caused by such vulnerabilities could be significant.
Mitigation Recommendations
The primary mitigation is to update WPForms to version 1.9.1.6 or later, where the vulnerability is patched. Organizations should audit their WordPress installations to identify and upgrade all instances of WPForms. Additionally, restrict administrator access to trusted personnel only and enforce strong authentication mechanisms such as MFA to reduce the risk of credential compromise. In multisite environments, review and tighten user role assignments and capabilities to minimize unnecessary admin privileges. Implement web application firewalls (WAF) with rules to detect and block suspicious script injections in form settings. Regularly monitor logs for unusual admin activity or unexpected changes in plugin settings. Employ Content Security Policy (CSP) headers to limit the impact of any injected scripts. Finally, conduct security awareness training for administrators to recognize and report suspicious behavior.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2024-07-23T20:14:00.513Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69164d2d05b975ba758b6b7b
Added to database: 11/13/2025, 9:27:09 PM
Last enriched: 11/13/2025, 9:27:21 PM
Last updated: 12/29/2025, 8:20:49 AM
Views: 71
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.
Related Threats
CVE-2025-15170: Cross Site Scripting in Advaya Softech GEMS ERP Portal
MediumCVE-2025-15178: Stack-based Buffer Overflow in Tenda WH450
HighCVE-2025-15228: CWE-434 Unrestricted Upload of File with Dangerous Type in WELLTEND TECHNOLOGY BPMFlowWebkit
CriticalCVE-2025-15227: CWE-36 Absolute Path Traversal in WELLTEND TECHNOLOGY BPMFlowWebkit
HighCVE-2025-15226: CWE-434 Unrestricted Upload of File with Dangerous Type in Sunnet WMPro
CriticalActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.