Stored Cross-Site Scripting Vulnerability in Shariff Wrapper Plugin for WordPress
CVE-2026-4334
6.4MEDIUM
What is CVE-2026-4334?
The Shariff Wrapper plugin for WordPress suffers from a Stored Cross-Site Scripting vulnerability due to inadequate input sanitization and output escaping. This flaw allows authenticated users with Contributor-level access and higher to inject malicious scripts via the 'headline' parameter in the [shariff] shortcode. The vulnerability stems from the plugin’s use of a permissive custom wp_kses implementation that fails to properly filter HTML tags, combined with a str_replace operation that permits HTML injection after initial sanitization. As a result, harmful scripts can execute on user pages, posing significant risks to site security.
Affected Version(s)
Shariff Wrapper 0 <= 4.6.20