Skip to main content
← All vulnerabilities
CVE-2026-61825GHSA-VJ3Q-VP3G-J9C8

code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.22.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • code16 sharp

    fixed in 9.22.5

  • code16/sharpPackagist

    fixed in 9.22.5

References 2

GitHub · code16/sharp