OFFLINE
Awaiting data
Security intelligence
MajorCritical vulnerability

CVE-2026-61825: code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

GitHub Advisories · officialPublished Sep 25, 2026Risk 37/100

### Impact The vulnerability allows an attacker to bypass the HTML sanitizer by using the `data-html-content` attribute in the content of a `SharpEditorFormField`. ### Patches 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. ### Workarounds Sanitize every contents of editors manually (e.g. using Symfony/HtmlSanitizer)

Upgrade affected packages to a patched version: code16/sharp 9.22.5.

Vendor
Not specified
Product
code16/sharp
Exploitation
none known
Evidence
official
CVSS
8.7

This record is attributed to GitHub Advisories. Exploitation status and remediation guidance are kept separate from the vulnerability's technical severity.

Open primary source