CyberRota Analysis
AI-GeneratedVersions of the code16 Sharp framework prior to 9.22.5 are vulnerable to a stored cross-site scripting (XSS) flaw in the `SharpEditorFormField`, allowing attackers to inject executable markup through the `data-html-content` attribute. This vulnerability can lead to unauthorized script execution when another user accesses the stored content, posing significant security risks. Organizations using this framework, especially those with custom implementations of the editor, should prioritize upgrading to version 9.22.5 or implementing strict content sanitization measures.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.