Vulnerability · Published May 28, 2026 · Assigned by Wordfence
CVE-2026-4334Shariff Wrapper <= 4.6.20 - Authenticated (Contributor+) Cross-Site Scripting
Medium 6.4
In plain English
A medium-severity cross-site scripting in Shariff Wrapper from 3uu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 3uu | Shariff Wrapper | 0 – through 4.6.20 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e037d22a-3d4d-4f70-a749-6d6c552c7553?source=cve
- https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1143
- https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1144
- https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L965
- https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L868
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3532532%40shariff&new=3532532%40shariff&sfp_email=&sfph_mail=