Skip to main content

Snippet Shortcodes EUVDEUVD-2026-59898

| CVE-2026-16758 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-16 Wordfence GHSA-fwgh-v8xw-qc79
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain or compromise WordPress contributor account
  2. Delivery
    Craft shortcode with malicious attribute payload
  3. Exploit
    Publish or embed in accessible page
  4. Install
    Victim (e.g., admin) browses injected page
  5. C2
    Stored script executes in victim browser
  6. Execute
    Session cookie exfiltrated to attacker
  7. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Snippet Shortcodes 0 ≤5.2.0

Affected Packages

euvd snippet_shortcodes no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche WordPress plugin with limited known install base
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy