Stored Cross-Site Scripting Vulnerability in Code16 Sharp Framework
CVE-2026-61825
What is CVE-2026-61825?
The Code16 Sharp Framework, which is based on Laravel and used for building content-management systems, contains a stored cross-site scripting vulnerability in versions prior to 9.22.5. This vulnerability allows attacker-controlled content with a data-html-content attribute to bypass HTML sanitization. Consequently, executable markup can be stored and executed when other users access the affected content. The vendor has released version 9.22.5 as a patched version, yet applications that use the SharpFormEditorField::RAW_HTML feature must implement additional sanitization on their own. As a best practice, developers are urged to sanitize all editor content before storage or rendering, such as utilizing Symfony HtmlSanitizer, and to disable RAW_HTML functionality unless absolutely necessary.
Affected Version(s)
sharp < 9.22.5
