{"id":"CVE-2026-61825","published":"2026-09-24T18:27:32Z","modified":"2026-09-24T18:53:39Z","title":"code16/sharp has a stored XSS via data-html-content Sanitizer Bypass","vendor":"code16","product":"sharp","tier":"tail","description":{"text":"code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Versions before 9.22.5 contain a stored cross-site scripting vulnerability in `SharpEditorFormField`: attacker-controlled content bearing the `data-html-content` attribute can bypass HTML sanitization and preserve executable markup, which may execute when another user views the stored content. The vendor identifies version 9.22.5 as patched; applications that intentionally enable `SharpFormEditorField::RAW_HTML` must continue to sanitize editor content themselves. As a workaround, applications should sanitize all editor content before storing or rendering it, for example with Symfony HtmlSanitizer, and disable RAW_HTML functionality where it is not required.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.14362,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":2.87},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"code16","affectedVersions":[{"vendor":"code16","product":"sharp","versions":["< 9.22.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-24T18:53:19.093005Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"code16/sharp","vulnerableRanges":["<9.22.5"],"patched":["9.22.5"],"from":["GHSA-vj3q-vp3g-j9c8"],"provenance":"source"}],"summary":{"text":"The code16 Sharp framework (sharp, a Laravel-based administrative interface toolkit) contains a stored cross-site scripting flaw in its SharpEditorFormField component, where content carrying the data-html-content attribute can bypass HTML sanitization and retain executable markup. An attacker who has low-privilege authenticated access and can get a victim to view the stored content, requiring user interaction, can have that script execute in the victim's session, with the attack scope extending beyond the vulnerable component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:33Z"},"euvd":{"id":"EUVD-2026-86384","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44692","published":"2026-06-10","fixed":"9.22.0","kev":false},{"cve":"CVE-2026-53634","published":"2026-06-10","fixed":"9.22.3","kev":false,"link":{"from":"CVE-2026-53634","to":"CVE-2026-61825","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:code16/sharp","fromFixed":"9.22.3","toFixed":"9.22.5","daysApart":106}]}},{"cve":"CVE-2026-61823","published":"2026-09-24","fixed":"9.22.5","kev":false},{"cve":"CVE-2026-61825","published":"2026-09-24","fixed":"9.22.5","kev":false},{"cve":"CVE-2026-84974","published":"2026-11-17","fixed":"10.0.0-beta.4","kev":false},{"cve":"CVE-2026-84987","published":"2026-11-17","fixed":"10.0.0-beta.4","kev":false}],"package":"Packagist:code16/sharp"}}