Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or compromise WordPress contributor account
-
DeliveryCraft shortcode with malicious attribute payload
-
ExploitPublish or embed in accessible page
-
InstallVictim (e.g., admin) browses injected page
-
C2Stored script executes in victim browser
-
ExecuteSession cookie exfiltrated to attacker
-
ImpactAttacker assumes victim identity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress session with at minimum contributor-level access (CVSS PR:L confirmed). The target site must have the Snippet Shortcodes plugin installed, activated, and running version 5.2.0 or earlier. The attacker must have the ability to create or edit posts or pages where plugin shortcodes are rendered - this is standard WordPress contributor capability and no non-default configuration is required beyond the plugin being active. Exploitation is limited to: (1) sites that grant contributor accounts to untrusted or semi-trusted users, (2) scenarios where a contributor account has been compromised, or (3) multi-tenant WordPress installations. Stored XSS impact requires a victim user to visit the injected page, but this happens passively through normal browsing and does not require the victim to perform any deliberate action beyond navigation. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) scores 6.4 Medium, which accurately captures the scope-change characteristic of stored XSS - the attacker's session is separate from the victim's browser where impact occurs. The PR:L metric is the most meaningful limiting factor: exploitation requires an existing WordPress account with at minimum contributor privileges, which substantially narrows the attacker population compared to unauthenticated flaws. Attack complexity is genuinely low once contributor access is available; no bypass or chained exploit is required. No EPSS score was provided in the available data, and the vulnerability is not listed in the CISA KEV catalog, so there is no signal of active widespread exploitation. The realistic threat model centers on insider risk, compromised contributor accounts, or multi-tenant WordPress environments where untrusted users can create posts. The scope-changed (S:C) designation matters practically: a contributor who cannot directly access admin functions can leverage this XSS to steal an administrator's session cookie, effectively escalating privileges indirectly. Without KEV listing or EPSS data, this should be prioritized as a routine patch-cycle item rather than an emergency - urgency increases proportionally with the number of contributor-level users on a given site. |
| Exploit ScenarioDerived | An attacker registers or compromises a contributor-level WordPress account on a target site running Snippet Shortcodes ≤ 5.2.0. They create or edit a post containing a plugin shortcode with a malicious attribute value embedding a JavaScript payload - for example, an event handler that exfiltrates the current user's cookies to an attacker-controlled endpoint. When an administrator subsequently visits the page during normal review or site management, the stored script executes in their browser and transmits the session token, granting the attacker administrative access without ever directly attacking the WordPress admin panel. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 16, 2026
Stored Cross-Site Scripting in the Snippet Shortcodes WordPress plugin (all versions through 5.2.0) allows any authenticated WordPress user with at least contributor-level access to inject persistent malicious scripts via unsanitized shortcode attributes. Once injected, the payload executes in the browser of any user who visits the affected page, including administrators, enabling session hijacking or privilege escalation. No active exploitation has been confirmed by CISA KEV, and no public exploit code is explicitly referenced in available intelligence; however, the Wordfence threat advisory and WordPress plugin trac source references document the vulnerability thoroughly.
RemediationAI
Site administrators should update the Snippet Shortcodes plugin to the latest available version immediately. A code fix has been committed to the WordPress plugin repository (changeset 3647346 at https://plugins.trac.wordpress.org/changeset?reponame=&old=3647346%40shortcode-variables&new=3647346%40shortcode-variables); however, the exact patched release version number is not confirmed in the available data and should be verified against the WordPress plugin directory before updating. If an immediate update is not possible, the primary compensating control is to remove contributor-level access from all untrusted users - this directly eliminates the attacker's required privilege. As a secondary measure, temporarily deactivating the plugin prevents shortcode rendering entirely at the cost of losing the plugin's functionality on affected pages. Blocking specific shortcode usage via a web application firewall rule targeting the plugin's shortcode tags is a narrower option but is difficult to maintain reliably. Full details are available from the Wordfence advisory linked above.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Snippet Shortcodes plugin for WordPress (vendor: aliakro; CPE: cpe:2.3:a:aliakro:snippet_shortcodes:*:*:*:*:*:*:*:*). CWE-79 identifies the root cause as improper neutralization of user-controllable input prior to output in a web page. Specifically, WordPress shortcode attributes supplied by contributors are passed through the plugin's rendering functions without adequate sanitization or contextual output escaping. The vulnerable logic is confirmed at includes/functions.php (line 81) and includes/shortcode.user.php (lines 14 and 74) in the 5.1.7 tag - accessible via WordPress plugin trac. Because shortcodes are rendered server-side and their output is written directly into page HTML, an attacker-controlled attribute value can introduce arbitrary JavaScript payloads that persist in the database and execute for every subsequent page visitor.
Know when Snippet Shortcodes gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor-level access required (PR:L); scope changes to victim browser (S:C); no availability impact; network-delivered stored payload needs no further attacker interaction.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Snippet Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Shortcode Attributes in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-59898
GHSA-fwgh-v8xw-qc79
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB