code16 Sharp vulnerable to stored XSS via iframe srcdoc Attribute
Published Sep 24, 2026
7.3
HIGHCVSS 3.1
EPSS 0.21%
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.
Affected products
-
- Version < 9.22.5StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 28, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.21% (0.00210) | 10.26th | v5 (v2026.06.15) |
| Oct 1, 2026 | 0.21% (0.00210) | 10.22th | v5 (v2026.06.15) |
References (4)
- https://github.com/advisories/GHSA-qxg3-46rw-79j8 Advisory
- https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21 x_refsource_MISC
- https://github.com/code16/sharp/security/advisories/GHSA-qxg3-46rw-79j8 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-61823
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-qxg3-46rw-79j8 | Advisory | |
| https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21 | x_refsource_MISC | |
| https://github.com/code16/sharp/security/advisories/GHSA-qxg3-46rw-79j8 | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-61823 |
Change history (0)
No recorded changes yet.