CVE-2026-61825
HIGH 8.7CVSS 3.1code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
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.
- Published
- 24 Sep 2026
- Last modified
- 29 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-vj3q-vp3g-j9c8
- Sources
- NVDJSONOSV GHSA-vj3q-vp3g-j9c8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | code16/sharp | < 9.22.5 | 9.22.5 |
References
- https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21 · WEB
- https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61825 · ADVISORY
- https://github.com/code16/sharp · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 24 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Sep 2026)