Description
The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'max_width' attribute of the `su_box` shortcode in all versions up to, and including, 7.4.10 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.
Published: 2026-03-31
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The plugin accepts a 'max_width' attribute on the su_box shortcode and does not properly escape user input. An attacker who has contributor‑level access can supply malicious JavaScript in this attribute. The code is stored in the database and rendered in any page that uses the shortcode, meaning that every visitor to the affected page will execute the injected script. This can lead to session hijacking, cookie theft, malicious redirects, or defacement.

Affected Systems

The vulnerability exists in the WP Shortcodes Plugin – Shortcodes Ultimate for WordPress, every version up to and including 7.4.10. Users with contributor or higher privileges are able to inject the payload, though any site visitor may be impacted when the malicious content is displayed.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. Because the attacker must be authenticated, the likelihood of exploitation is lower than a fully remote vulnerability; however, once authenticated the script executes for all users. The EPSS score is not available and the flaw is not listed in the CISA KEV catalog. The most probable attack path is an authenticated contributor editing a page or post that contains the su_box shortcode and inserting malicious code into the 'max_width' field.

Generated by OpenCVE AI on April 1, 2026 at 05:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to WP Shortcodes Plugin – Shortcodes Ultimate version 7.4.11 or later, which fixes the input sanitization issue.
  • If upgrading is not immediately possible, restrict the use of the su_box shortcode to trusted users or remove it from publicly accessible content.
  • Audit existing pages that use the su_box shortcode for hidden or malformed attributes and clean or remove them.
  • Apply general security hygiene: review role permissions, enforce least privilege, and monitor for unexpected script execution.

Generated by OpenCVE AI on April 1, 2026 at 05:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Gn Themes
Gn Themes wp Shortcodes Plugin — Shortcodes Ultimate
Wordpress
Wordpress wordpress
Vendors & Products Gn Themes
Gn Themes wp Shortcodes Plugin — Shortcodes Ultimate
Wordpress
Wordpress wordpress

Wed, 01 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
Description The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'max_width' attribute of the `su_box` shortcode in all versions up to, and including, 7.4.10 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.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'max_width' Shortcode Attribute
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

Gn Themes Wp Shortcodes Plugin — Shortcodes Ultimate
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:56:53.775Z

Reserved: 2026-02-13T18:13:56.168Z

Link: CVE-2026-2480

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-03-31T23:17:08.233

Modified: 2026-04-24T18:12:06.580

Link: CVE-2026-2480

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-02T20:09:59Z

Weaknesses