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-2025-7726: 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-2025-7726cvecve-2025-7726cwe-79
Published: Sat Aug 09 2025 (08/09/2025, 13:45:05 UTC)
Source: CVE Database V5
Vendor/Project: Dream-Theme
Product: The7 — Website and eCommerce Builder for WordPress

Description

The The7 theme for WordPress is vulnerable to Stored Cross-Site Scripting via its lightbox rendering code in all versions up to, and including, 12.6.0 due to insufficient input sanitization and output escaping. The theme’s JavaScript reads user-supplied 'title' and 'data-dt-img-description' attributes directly via jQuery.attr(), concatenates them into an HTML string, and inserts that string into the DOM using methods such as jQuery.html() without escaping or filtering. This makes it possible for authenticated attackers, with Contributor-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

AILast updated: 02/26/2026, 16:33:07 UTC

Technical Analysis

CVE-2025-7726 is a stored cross-site scripting vulnerability affecting the The7 theme for WordPress, a popular website and eCommerce builder. The vulnerability exists in all versions up to and including 12.6.0 due to insufficient sanitization and escaping of user input in the theme’s lightbox rendering code. Specifically, the theme’s JavaScript reads user-supplied 'title' and 'data-dt-img-description' attributes using jQuery.attr(), concatenates these values into an HTML string, and inserts this string into the DOM using jQuery.html() without proper escaping or filtering. This improper neutralization of input (CWE-79) allows authenticated attackers with Contributor-level access or higher to inject arbitrary JavaScript code that is stored persistently on the website. When other users access the infected pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions on behalf of the victim. The vulnerability does not require user interaction beyond visiting the infected page and does not impact availability. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects network attack vector, low attack complexity, requiring privileges but no user interaction, with scope changed and low impact on confidentiality and integrity. No public exploits are currently known, but the vulnerability poses a significant risk in environments where multiple users have contributor or higher roles. The lack of official patches at the time of publication necessitates immediate mitigation steps by site administrators.

Potential Impact

The primary impact of CVE-2025-7726 is on the confidentiality and integrity of affected WordPress sites using The7 theme. Attackers with Contributor-level access can inject persistent malicious scripts, which execute in the browsers of site visitors and administrators. This can lead to theft of authentication cookies, session tokens, or other sensitive information, enabling account takeover or privilege escalation. Additionally, attackers could perform unauthorized actions on behalf of users, deface content, or redirect users to malicious sites. While availability is not directly affected, the reputational damage and potential data breaches can have severe business consequences, especially for eCommerce sites relying on The7 theme. Organizations with multiple contributors or collaborative content creation workflows are at higher risk. The vulnerability's exploitation could facilitate broader attacks such as phishing, malware distribution, or lateral movement within compromised networks.

Mitigation Recommendations

To mitigate CVE-2025-7726, site administrators should first check for and apply any official patches or updates released by Dream-Theme for The7 theme. If patches are not yet available, administrators should restrict Contributor-level and higher privileges to trusted users only, minimizing the risk of malicious input. Implementing a Web Application Firewall (WAF) with rules to detect and block suspicious script injection attempts targeting the affected attributes can provide interim protection. Additionally, site owners should audit and sanitize existing content for injected scripts, especially in lightbox titles and image descriptions. Employing Content Security Policy (CSP) headers can reduce the impact of injected scripts by restricting script execution sources. Developers maintaining custom code should ensure all user inputs are properly sanitized and escaped before insertion into the DOM, preferably using secure templating methods rather than direct HTML concatenation. Regular security reviews and monitoring for unusual user activity or content changes are also recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-07-16T19:03:42.751Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68975505ad5a09ad000c1f26

Added to database: 8/9/2025, 2:02:45 PM

Last enriched: 2/26/2026, 4:33:07 PM

Last updated: 3/26/2026, 8:20:02 AM

Views: 146

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 for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses