Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-7056: CWE-79 Cross-Site Scripting (XSS) in WPForms

0
Low
VulnerabilityCVE-2024-7056cvecve-2024-7056cwe-79
Published: Mon Nov 25 2024 (11/25/2024, 06:00:14 UTC)
Source: CVE Database V5
Product: 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

AILast updated: 11/13/2025, 21:27:21 UTC

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.

Need more detailed analysis?Upgrade to Pro Console

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats