{"id":"CVE-2026-61825","published":"2026-09-24T19:17:15.500","lastModified":"2026-09-29T19:07:47.037","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.","cvssScore":8.7,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","cwes":["CWE-79"],"vendors":[],"products":[],"references":[{"url":"https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21","tags":[]},{"url":"https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8","tags":[]}],"exploitRefs":[{"url":"https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21","tags":[]},{"url":"https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8","tags":[]}],"hasPoc":true,"ai":{"summary":"A stored cross-site scripting vulnerability exists in code16 Sharp versions before 9.22.5, allowing attackers to inject executable markup that can be rendered when another user views the content.","exploitability":"Exploitation is relatively straightforward if an attacker can control the `data-html-content` attribute and the target user views the content. Precondition is the presence of user-editable content with the `data-html-content` attribute.","blast_radius":"If exploited, the vulnerability could lead to arbitrary JavaScript execution in the context of the victim's browser session, potentially leading to data theft, session hijacking, or other malicious activities.","remediation":"Upgrade to version 9.22.5 or later. If upgrading is not possible, sanitize all editor content before storing or rendering it, and disable the `RAW_HTML` functionality where it is not required.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["xss","web","sanitization"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-01T08:44:00.573Z"}}