CVE-2025-0837

Puzzles <= 4.2.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Published Feb 13, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Puzzles theme for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 4.2.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The Puzzles WordPress theme contains a stored cross‑site scripting flaw that can be triggered via shortcodes in content written by users with contributor or higher permissions. The vulnerability stems from inadequate sanitization of user‑supplied shortcode attributes and the failure to escape output before rendering it in pages. An attacker who can create or edit content can embed malicious JavaScript, which will run in the browsers of anyone who visits the affected page. The description explicitly states that the flaw is exploitable by authenticated users, implying that the attack vector requires login and sufficient role privileges, but the exact method of injection is not detailed in the advisory.

Affected Systems

WordPress installations that use the ThemeREX Puzzles theme (WP Magazine / Review with Store) with a version of 4.2.6 or earlier are affected. No additional product or version details are provided beyond the theme name and the upper bound version.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity impact, while the EPSS score of less than 1% suggests the likelihood of exploitation is currently very low. The vulnerability is not listed in CISA’s KEV catalog. Because only authenticated users with contributor-level or higher access can inject scripts, the risk is confined to sites where such roles exist and are granted the ability to edit or publish posts. If an attacker gains this level of access, they can compromise the integrity and confidentiality of any visitor’s browser session, potentially leading to credential theft or session hijacking.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Contact ThemeREX to obtain an updated Puzzles theme or a security patch that fixes the shortcode XSS vulnerability.
  • Restrict contributor and other content‑author roles from editing or publishing posts that contain shortcodes, or disable shortcode functionality if not needed.
  • If an update or patch is not immediately available, implement a shortcode filtering plugin that sanitizes attributes to remove disallowed JavaScript before rendering.

Generated by OpenCVE AI on April 22, 2026 at 17:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-1888 The Puzzles theme for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History
Type Values Removed Values Added
Description The Puzzles theme for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The Puzzles theme for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 4.2.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Puzzles <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Puzzles <= 4.2.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Type Values Removed Values Added
Metrics epss

{'score': 0.00019}

epss

{'score': 0.00021}

Type Values Removed Values Added
Metrics epss

{'score': 0.00037}

epss

{'score': 0.00019}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Themerex
Themerex puzzles
CPEs cpe:2.3:a:themerex:puzzles:*:*:*:*:*:wordpress:*:*
Vendors & Products Themerex
Themerex puzzles
Type Values Removed Values Added
Description The Puzzles theme for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Puzzles <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:58 PM
Reserved
Jan 29, 2025, 2:15 PM
Status
Modified
Published
Feb 13, 2025, 5:15 AM
Modified
Jun 17, 2026, 8:27 AM