← Back to search

CVE-2026-61825

8.7 HIGHpublic exploit available

Published 2026-09-24 · Updated 2026-09-29

AI risk analysis

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.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized 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.
xsswebsanitization

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Weaknesses

CWE-79

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.