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-5451: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Dream-Theme The7 — Website and eCommerce Builder for WordPress

0
Medium
VulnerabilityCVE-2024-5451cvecve-2024-5451cwe-79
Published: Tue Jun 25 2024 (06/25/2024, 13:53:22 UTC)
Source: CVE Database V5
Vendor/Project: Dream-Theme
Product: The7 — Website and eCommerce Builder for WordPress

Description

CVE-2024-5451 is a stored Cross-Site Scripting (XSS) vulnerability in The7 WordPress theme, affecting all versions up to 11. 13. 0. It arises from improper sanitization and escaping of the 'url' attribute in the Icon and Heading widgets, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or further attacks. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access. No known exploits are currently reported in the wild. Organizations using The7 theme for WordPress-based websites, especially eCommerce sites, should prioritize patching or mitigating this issue to prevent exploitation.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:36:52 UTC

Technical Analysis

CVE-2024-5451 is a stored Cross-Site Scripting vulnerability identified in The7 — Website and eCommerce Builder for WordPress theme, versions up to and including 11.13.0. The flaw exists due to insufficient input sanitization and output escaping of the 'url' attribute within the theme's Icon and Heading widgets. Specifically, authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages by manipulating this attribute. Because the vulnerability is stored, the malicious script persists in the website's content and executes in the browsers of any users who visit the infected pages. This can lead to theft of sensitive information such as authentication cookies, defacement, or redirection to malicious sites. The vulnerability requires no user interaction beyond visiting the compromised page but does require authenticated access, limiting exploitation to users with some level of trust on the site. The CVSS 3.1 base score is 6.4, reflecting medium severity with network attack vector, low attack complexity, and privileges required. No public exploits have been reported yet, but the widespread use of The7 theme in WordPress sites, including eCommerce platforms, increases the risk profile. The vulnerability highlights the importance of proper input validation and output encoding in web application components that handle user-supplied data.

Potential Impact

This vulnerability can have significant impacts on organizations running WordPress sites with The7 theme, particularly those with contributor-level users such as content creators or editors. Exploitation can lead to unauthorized script execution in site visitors' browsers, resulting in session hijacking, credential theft, unauthorized actions performed on behalf of users, or site defacement. For eCommerce sites, this could lead to theft of customer data or disruption of business operations. The requirement for authenticated access reduces the risk from external anonymous attackers but elevates the threat from insider threats or compromised accounts. The stored nature of the XSS means the malicious payload persists and affects all users accessing the infected pages, potentially amplifying the attack's reach. Organizations may face reputational damage, loss of customer trust, and regulatory consequences if sensitive data is compromised. The lack of a patch at the time of disclosure necessitates immediate mitigation to prevent exploitation.

Mitigation Recommendations

1. Immediately restrict contributor-level and higher user permissions to trusted individuals only, minimizing the risk of malicious input. 2. Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections targeting the 'url' attribute in The7 theme widgets. 3. Regularly audit and sanitize existing content in Icon and Heading widgets to remove any injected scripts. 4. Monitor user activity logs for unusual behavior from contributor-level users. 5. Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 6. Stay updated with Dream-Theme vendor announcements and apply official patches or updates as soon as they become available. 7. Consider temporarily disabling or replacing the vulnerable widgets if feasible until a patch is released. 8. Educate site administrators and content creators about the risks of injecting untrusted content and safe content management practices.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-28T20:18:17.206Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6be7b7ef31ef0b55bfad

Added to database: 2/25/2026, 9:38:47 PM

Last enriched: 2/26/2026, 2:36:52 AM

Last updated: 2/26/2026, 9:41:55 AM

Views: 1

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