Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or register Contributor-level WordPress account
-
DeliveryCraft [shariff headline] shortcode with %total event handler payload
-
ExploitPublish or save post containing injected shortcode
-
InstallVictim browser loads poisoned page
-
C2Post-sanitization str_replace injects event handler into rendered HTML
-
ExecuteAttacker JavaScript executes in victim browser context
-
ImpactExfiltrate session tokens or redirect victim
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 account with Contributor-level privileges or higher (confirmed by CVSS PR:L), as Contributors are the minimum role permitted to create posts and invoke shortcodes. The [shariff] shortcode must be processed and rendered on an accessible page - exploitation is blocked if the Shariff Wrapper plugin is deactivated, if shortcode execution is globally disabled, or if the site restricts shortcode usage to higher-privileged roles such as Editor or Administrator. The specific attack path runs through the 'headline' parameter and the %total placeholder substitution logic inside the style attribute, as implemented in shariff.php at lines 868, 965, 1143, and 1144. Exploitation is further limited to WordPress deployments where Contributor accounts are obtainable via open registration, credential theft, or weak password policies. Once the payload is stored, no additional victim interaction is required (UI:N) - any browser loading the injected page triggers execution, including unauthenticated site visitors. |
| Impact | The CVSS 6.4 Medium score is driven by AV:N (network exploitable), AC:L (low complexity, no special conditions), PR:L (requires Contributor-level authentication), UI:N (no victim interaction needed to trigger payload once stored), and S:C (Changed scope - injected scripts execute in victim browsers outside the plugin's trust boundary). The Changed scope is the most consequential signal here, elevating real-world impact beyond what a Medium score implies, as every subsequent visitor to a poisoned page is silently attacked. EPSS data was not provided in the available intelligence, so exploitation probability cannot be quantified. KEV status is absent, and no POC is identified at time of analysis, indicating this is not currently confirmed as a mass-exploitation target. The primary real-world risk limiter is the PR:L prerequisite: attackers must already hold Contributor credentials. However, on sites with open user registration or shared authoring workflows - common in WordPress ecosystems - this is a readily achievable condition. The persistence of stored XSS over reflected XSS meaningfully amplifies impact, as a single poisoned post can affect all visitors indefinitely until patched or removed. |
| Exploit ScenarioDerived | An attacker registers or compromises a Contributor-level WordPress account on a target site, then creates a post or page embedding the [shariff] shortcode with a crafted 'headline' value that exploits the %total placeholder substitution to inject a JavaScript event handler into the rendered style attribute. After the post is published or made accessible, every visitor who loads that page - authenticated or not - executes the attacker's script, allowing session cookie exfiltration, forced redirection to a phishing page, or silent keylogging. No public exploit identified at time of analysis, but the attack requires no specialized tooling given the low complexity rating (AC:L) and is replicable from the trac source references identifying the exact vulnerable lines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Stored Cross-Site Scripting in the Shariff Wrapper WordPress plugin (all versions ≤ 4.6.20) allows authenticated Contributors to inject persistent JavaScript payloads via the 'headline' parameter of the [shariff] shortcode, which then execute in any visitor's browser upon page load. The Changed scope (S:C in CVSS) means the injected payload escapes the plugin's context and runs inside victim browsers across the full WordPress front-end, enabling session theft, credential harvesting, or drive-by redirection. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, though the low attack complexity and persistent nature of stored XSS make it a meaningful risk on multi-author or open-registration WordPress installations.
RemediationAI
Update the Shariff Wrapper plugin to the version corresponding to or superseding trac changeset revision 3532532, available through the WordPress plugin repository. The exact patched release version tag is not independently confirmed from the available data - consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e037d22a-3d4d-4f70-a749-6d6c552c7553 for the confirmed fixed release once published. As an interim compensating control, restrict Contributor-level account creation and audit existing Contributor accounts for unauthorized access - note this may impact legitimate editorial workflows. Alternatively, disable the Shariff Wrapper plugin entirely until patching is confirmed; this eliminates the attack surface but removes social sharing functionality site-wide. WordPress administrators can also use a Web Application Firewall rule (e.g., Wordfence WAF) to block shortcode parameter injection patterns targeting the headline attribute as a temporary measure, though WAF rules carry a risk of false positives on legitimate content.
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 Shariff Wrapper plugin (CPE: cpe:2.3:a:3uu:shariff_wrapper:*:*:*:*:*:*:*:*, vendor: 3uu) is a WordPress social sharing button plugin that processes the [shariff] shortcode. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS), arising from a flawed sanitization pipeline. The plugin applies a custom wp_kses implementation with a permissive allowed HTML tag list to the 'headline' parameter, but then performs a str_replace operation on the already-sanitized output to substitute the %total placeholder inside a style attribute. Because str_replace runs after sanitization, it can reintroduce HTML event handlers (e.g., onerror=, onmouseover=) that the sanitizer never evaluated. The vulnerable logic is traceable to shariff.php at lines 868, 965, 1143, and 1144 per the WordPress plugin trac references supplied in the advisory. This is a classic post-sanitization injection pattern, where the developer assumed sanitization was a terminal step rather than accounting for subsequent content transformation.
Know when Shariff Wrapper 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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'headline' parameter in the [shariff] shortcode in all versions up to, and including, 4.6.20 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. The vulnerability occurs because the plugin uses a custom wp_kses implementation with permissive allowed HTML tags, and then performs a str_replace operation that injects HTML after sanitization, allowing event handlers to be introduced through the %total placeholder in the style attribute.
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.
More in Shariff Wrapper
View allThe Shariff Wrapper WordPress plugin before 4.6.10 does not sanitise and escape some of its settings, which could allow
The Shariff Wrapper plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 4.6.13
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jan-Peter Lambeck
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shariff' shortco
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shariff' shortco
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shariff' shortco
The Shariff Wrapper plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shariff' shortco
EUVD-2026-32750
GHSA-xp36-f956-vp7p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB