Loading advisory.
Loading advisory.
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
The vulnerability allows an attacker to bypass the HTML sanitizer by using the data-html-content attribute in the content of a SharpEditorFormField.
Published 2026-09-24 18:27 UTC · Modified 2026-09-25 15:15 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| code16/sharp | Packagist | < 9.22.5 versions 7.0.0-alpha.1, 7.27.0, 7.7.2, v4.0-BETA1, v4.0-BETA2, v4.0-BETA3, v4.0-BETA4, v4.0-BETA5, v4.0-BETA6, v4.0.0, v4.0.1, v4.0.10, v4.0.11, v4.0.12, v4.0.13, v4.0.14, v4.0.15, v4.0.16, v4.0.17, v4.0.18 and 299 more | 9.22.5 | composer require 'code16/sharp:>=9.22.5' |
The vulnerability allows an attacker to bypass the HTML sanitizer by using the data-html-content attribute in the content of a SharpEditorFormField.
The field must now explicitly configure SharpFormEditorField::RAW_HTML in the toolbar to keep this behavior. When using the RAW_HTML button, the application using code16/sharp must sanitize manually the content coming from the field.
Vulnerability has been patched in version 9.22.5.
Sanitize every contents of editors manually (e.g. using Symfony/HtmlSanitizer)
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.002 | v2026.06.15 |