{"id":"CVE-2026-4334","aliases":["CVE-2026-4334"],"related":[],"kind":"vulnerability","state":"published","title":"Shariff Wrapper <= 4.6.20 - Authenticated (Contributor+) Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-28T08:27:38.853Z","modified":"2026-06-17T10:56:26.240Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.6.20","status":"affected"}],"vendor":"3uu","product":"Shariff Wrapper","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e037d22a-3d4d-4f70-a749-6d6c552c7553?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1143","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L1144","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L965","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/shariff/trunk/shariff.php#L868","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3532532%40shariff&new=3532532%40shariff&sfp_email=&sfph_mail=","tags":[],"sources":["cvelist","nvd"]}],"credits":["Muhammad Yudha - DJ"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-28T10:09:43.921Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4334","url":"https://www.cve.org/CVERecord?id=CVE-2026-4334","licence":"CVE Terms of Use","modified":"2026-05-28T10:31:28.554Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4334","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4334","licence":"Public domain","modified":"2026-06-17T10:56:26.240Z"}],"updatedAt":"2026-11-25T22:59:22.756Z","epss":{"score":0.00222,"percentile":0.13613,"date":"2026-12-02T12:00:21.000Z"}}