CVE-2026-4334
The Shariff Wrapper plugin for WordPress is vulnerable to Stored …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1143
- plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1144
- plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L868
- plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L965
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3532532%40shariff
- www.wordfence.com/threat-intel/vulnerabilities/id/e037d22a-3d4d-4f70-a749-6d6c552c7553?sou
- nvd.nist.gov/vuln/detail/CVE-2026-4334
- cve.org/CVERecord?id=CVE-2026-4334
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.