CVE-2026-61823
Received Received - Intake

Stored XSS in Code16 Sharp Rich-Text Editor

Vulnerability report for CVE-2026-61823, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in code16 Sharp, a Laravel-based framework. It allows authenticated users with edit permissions to inject malicious JavaScript via the srcdoc attribute in iframe elements within a rich-text editor. The HTML sanitizer incorrectly permits this attribute, which browsers decode before rendering, enabling stored executable scripts.

Detection Guidance

To detect this vulnerability, inspect Laravel applications using code16 Sharp versions before 9.22.5 for Editor fields containing iframe elements with the srcdoc attribute. Check application logs for unauthorized content modifications or unusual JavaScript execution patterns in rendered pages.

Impact Analysis

An attacker could exploit this to hijack user sessions, perform unauthorized actions, take over accounts, escalate privileges, or steal administrative data. The impact depends on user permissions and the sensitivity of the data accessed.

Compliance Impact

This vulnerability could lead to unauthorized access, data breaches, or session hijacking, which may violate GDPR's data protection requirements or HIPAA's safeguards for protected health information. Exploitation risks exposing sensitive administrative or user data, potentially resulting in non-compliance with these regulations.

Mitigation Strategies

Upgrade to code16 Sharp version 9.22.5 or later to patch the vulnerability. If upgrading is not possible, manually sanitize Editor field content to remove iframe srcdoc attributes before storage or rendering. Review and restrict user permissions to edit Editor fields to minimize exposure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-61823. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart