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

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 25% of CVEs (2026-11-30)
- Published: 2026-09-24T18:27:32.284Z
- Modified: 2026-09-29T19:07:47.037Z
- Also known as: GHSA-vj3q-vp3g-j9c8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- code16 sharp: < 9.22.5
- code16/sharp (Packagist): before 9.22.5

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8> (web)
- <https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61825> (advisory)
- <https://github.com/code16/sharp> (package)

## Sources

- CVE List: [CVE-2026-61825](https://www.cve.org/CVERecord?id=CVE-2026-61825), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-vj3q-vp3g-j9c8](https://github.com/advisories/GHSA-vj3q-vp3g-j9c8), CC-BY-4.0, modified 2026-09-25
- NVD: [CVE-2026-61825](https://nvd.nist.gov/vuln/detail/CVE-2026-61825), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-61825 · Whole record: https://cve.day/CVE-2026-61825.json · Rebuilt by cve.day 2026-11-25T22:59:40.893Z
