요약
- CVE-2026-61825은(는) code16/sharp에 영향을 주는 높음 (CVSS 8.7) 취약점입니다.
- 향후 30일 내 악용 확률(EPSS): 0.23%, 전체 취약점의 14.2%보다 높음.
- 조치: 9.22.5 이상으로 업데이트하세요.
| Package | Affected versions | Patched versions |
|---|
| code16/sharp Packagist | < 9.22.5
| 9.22.5
|
Description
Impact
The vulnerability allows an attacker to bypass the HTML sanitizer by using the data-html-content attribute in the content of a SharpEditorFormField.
Patches
The field must now explicitly configure SharpFormEditorField::RAW_HTML in the toolbar to keep this behavior. When using the RAW_HTML button, the application using code16/sharp must sanitize manually the content coming from the field.
Vulnerability has been patched in version 9.22.5.
Workarounds
Sanitize every contents of editors manually (e.g. using Symfony/HtmlSanitizer)
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free