CVE-2026-61823 Details
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 the rich-text editor because the HTML sanitizer permits the `srcdoc` attribute on iframe elements. Although markup inside `srcdoc` is HTML-encoded during sanitization, browsers decode attribute entities before interpreting the iframe document, allowing an authenticated user with permission to edit an Editor field to store executable JavaScript that runs when another user views the content. Successful exploitation can result in session hijacking, unauthorized actions, account takeover, privilege escalation, or disclosure of administrative data. Version 9.22.5 patches the vulnerability by removing `srcdoc` from the permitted iframe attributes. As a workaround, applications that cannot upgrade should manually sanitize all Editor field content and remove every iframe `srcdoc` attribute before storing or rendering it.
A stored cross-site scripting vulnerability has been identified in Code16 Sharp versions prior to 9.22.5. The issue arises in the rich text editor, where the HTML sanitizer allows the 'srcdoc' attribute on iframe elements. Although the sanitizer encodes HTML entities in the 'srcdoc' value, browsers decode these entities before processing the iframe content. This behavior enables an authenticated user with permission to edit an Editor field to inject executable JavaScript, which is executed when another user views the content. Exploitation of this vulnerability could lead to session hijacking, unauthorized actions, account takeover, privilege escalation, or disclosure of administrative data.
Users can upgrade to Code16 Sharp version 9.22.5, which removes 'srcdoc' from the allowed iframe attributes. For those unable to upgrade, manually sanitizing Editor field content to remove 'srcdoc' attributes before storing or rendering it is recommended.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21 | [email protected] | Source CodeVendor |
| https://github.com/code16/sharp/security/advisories/GHSA-qxg3-46rw-79j8 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code16 Sharp | < 9.22.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 28, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion