CVE-2025-7354

WP Shortcodes Plugin — Shortcodes Ultimate <= 7.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Plugin Shortcodes

Published Jul 21, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 7.4.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Analysis

AI-generated

Technical impact

The WP Shortcodes Plugin — Shortcodes Ultimate is affected by a Stored Cross‑Site Scripting flaw (CWE‑79) that arises from insufficient input sanitization and output escaping on user‑supplied shortcode attributes. An attacker with contributor‑level or higher WordPress permissions can embed arbitrary scripts that are stored and subsequently rendered when any site visitor accesses a page containing the injected shortcode. This issue permits malicious code execution in the context of the site, enabling credential theft, session hijacking or site defacement.

Affected Systems

The vulnerability impacts the WP Shortcodes Plugin — Shortcodes Ultimate developed by gn_themes. All installed versions up to and including 7.4.2 are affected; newer releases are presumed patched. The flaw persists across all WordPress sites that rely on this plugin and have contributors with editing privileges.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS of less than 1% suggests a low probability of exploitation. Because the flaw requires authenticated access at contributor level or higher, the effective attack surface is limited to sites where such roles exist. The attack is relatively straightforward: an attacker creates or edits a post or page, inserts a malicious shortcode that injects script, and then any visitor triggers execution. Though the likelihood is low, the potential damage—such as credential theft or defacement—makes it a significant concern for sites with high‑traffic user bases.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the WP Shortcodes Plugin — Shortcodes Ultimate to the latest available version that contains the XSS fix.
  • If an update is not yet available, temporarily disable or remove the vulnerable shortcode attributes or the entire shortcode functionality for contributors, limiting the ability to inject scripts.
  • Enforce strict sanitization of all shortcode attributes by applying WordPress’s built‑in validation and encoding functions, or by setting the plugin’s configuration to escape output automatically.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22051 The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 7.4.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 7.4.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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 WP Shortcodes Plugin — Shortcodes Ultimate <= 7.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Plugin Shortcodes
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

No data.

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:57 PM
Reserved
Jul 8, 2025, 12:28 PM
Status
Deferred
Published
Jul 21, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:04 AM