Shariff Wrapper <= 4.6.20 - Authenticated (Contributor+) Cross-Site Scripting

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-4334
CVSS 6.4 (Medium)
Publicly Published May 27, 2026
Last Updated May 28, 2026
Researcher Muhammad Yudha - DJ

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Shariff Wrapper

Software Type Plugin
Software Slug shariff (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.6.21, or a newer patched version
Affected Version
  • <= 4.6.20
Patched Version
  • 4.6.21

Recent vulnerabilities in Shariff Wrapper

# Title CVE ID CVSS Researchers Date
1 Shariff Wrapper <= 4.6.13 - Unauthenticated Local File Inclusion CVE-2024-4098 9.8 haidv35 June 19, 2024
2 Shariff Wrapper <= 4.6.13 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2024-2695 6.4 Ngô Thiên An (ancorn_) June 14, 2024
3 Shariff Wrapper <= 4.6.10 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-1450 6.4 Richard Telleng (stueotue) March 12, 2024
4 Shariff Wrapper <= 4.6.9 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-0966 6.4 Muhammad Daffa March 12, 2024
5 Shariff Wrapper <= 4.6.9 - Authenticated(Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2023-6500 6.4 Rafshanzani Suhada March 12, 2024
6 Shariff Wrapper <= 4.6.9 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-1106 4.4 Dmitrii Ignatyev February 5, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation