Read the docs
TI-2026-44248 Aliases CVE-2026-61823GHSA-qxg3-46rw-79j8

code16 Sharp vulnerable to stored XSS via iframe srcdoc Attribute

Priority LOW 33CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0021 11th percentileScored 2026-11-07
Fix Fixed sharp (code16): 9.22.5code16/sharp (Packagist): 9.22.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
code16sharpbefore 9.22.59.22.5Patch availableCNA
—code16/sharp (Packagist)before 9.22.59.22.5Patch availableGHSA-qxg3-46rw-79j8
  • sharp Vendorcode16 Affected before 9.22.5 Fixed in 9.22.5 Patch available CNA
  • code16/sharp (Packagist) Vendor— Affected before 9.22.5 Fixed in 9.22.5 Patch available GHSA-qxg3-46rw-79j8

Remediation

  • Fix · CNA sharp (code16) Fixed in 9.22.5
  • Fix · GHSA-qxg3-46rw-79j8 code16/sharp (Packagist) Fixed in 9.22.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-61823
  2. 2026-10-03 Alias added: GHSA-qxg3-46rw-79j8

References

  • TI-2026-26067 Sharp has Unrestricted File Upload via Client-Controlled Validation Rules CVSS 3.1HIGH 8.8
  • TI-2026-26066 Sharp is Vulnerable to Path Traversal via Unsanitized Extension in FileUtil CVSS 3.1HIGH 8.8
  • TI-2026-44250 code16/sharp has a stored XSS via data-html-content Sanitizer Bypass CVSS 3.1HIGH 8.7
  • TI-2026-32583 Authenticated Sharp users can download unrelated Laravel Storage objects through the generic download endpoint CVSS 3.1HIGH 7.7
  • TI-2025-38981 Sharp user-provided input can be evaluated in a SharpShowTextField with Vue template syntax CVSS 3.1MEDIUM 5.4
  • TI-2026-38678 Sharp: Missing Authorization Check in Quick Creation Command Endpoints CVSS 3.1MEDIUM 4.3

Sources