What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Shariff Wrapper versions up to 4.6.20 contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the vulnerable component itself. An attacker with low-level privileges can inject code that affects other users or site functionality without requiring user interaction.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers or affect site functionality.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors or site behavior; data theft or malware distribution possible.
Conditions required to exploit
05Prerequisites
Attacker must have a low-level user account on the site; no user interaction required.
Key dates
06Disclosure timeline
May 28, 2026
CVE published
May 28, 2026
Record updated