What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The7 WordPress theme contains a stored cross-site scripting (XSS) vulnerability in versions up to 12.6.0. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, including administrators. The vulnerability affects the entire site scope due to how the theme processes and displays user-controlled content.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers, potentially stealing session tokens or performing actions as those users.
Potential impact on your site
04Site Impact
Visitors and administrators may have their sessions hijacked or be redirected to malicious sites; site reputation and user data at risk.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., subscriber or contributor role) and network access to the site.
Key dates
06Disclosure timeline
August 9, 2025
CVE published
April 8, 2026
Record updated