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.
Published: 2025-08-09
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Upgrade Theme
AI Analysis

Impact

The vulnerability allows an authenticated contributor or higher to inject arbitrary JavaScript into pages via the lightbox rendering code in The7 theme. Unsanitized title and data‑dt‑img‑description attributes are read, concatenated into an HTML string, and inserted into the DOM. An attacker can therefore execute scripts in the browser of any user who views the affected page, enabling credential theft, session hijacking, and defacement.

Affected Systems

Dream Theme The7 – WordPress theme, all releases up to and including 12.6.0 are affected. The vulnerability is present in every installation using the impacted versions of the theme.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity vulnerability, and the EPSS score of less than 1% shows a low likelihood of exploitation at this time. The vulnerability is not listed in CISA KEV. Attack requires authenticated access with contributor or higher privileges; the entry point is the image lightbox where title attributes are processed without escaping.

Generated by OpenCVE AI on April 21, 2026 at 03:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update The7 theme to the latest released version that addresses the sanitization issue.
  • Restrict Contributor+ users from uploading or editing images until a patch is applied.
  • If patch cannot be applied immediately, configure a Content Security Policy that blocks inline scripts or remove the title and data-dt-img-description attributes from image tags via a custom PHP solution.

Generated by OpenCVE AI on April 21, 2026 at 03:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-24051 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.
History

Tue, 12 Aug 2025 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Dream-theme
Dream-theme the7
Wordpress
Wordpress wordpress
Vendors & Products Dream-theme
Dream-theme the7
Wordpress
Wordpress wordpress

Mon, 11 Aug 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 09 Aug 2025 14:00:00 +0000

Type Values Removed Values Added
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.
Title The7 <= 12.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via title and data-dt-img-description Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Dream-theme The7
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:55:56.965Z

Reserved: 2025-07-16T19:03:42.751Z

Link: CVE-2025-7726

cve-icon Vulnrichment

Updated: 2025-08-11T15:52:19.496Z

cve-icon NVD

Status : Deferred

Published: 2025-08-09T14:15:26.197

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-7726

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T03:45:27Z

Weaknesses