Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- 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#L868
- https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L965
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e037d22a-3d4d-4f70-a74
FAQ
What is CVE-2026-4334?
CVE-2026-4334 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 insuff...
How severe is CVE-2026-4334?
CVE-2026-4334 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4334?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.