---
id: CVE-2026-61823
title: >-
  code16 Sharp is a Laravel-based framework for building content-management and
  administrative interfaces
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
  permit…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-79
vendor: code16
product: sharp
affected:
  - sharp < 9.22.5
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T19:17:15.350'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61823'
references:
  - url: >-
      https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21
    label: security-advisories@github.com
  - url: 'https://github.com/code16/sharp/security/advisories/GHSA-qxg3-46rw-79j8'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-24T18:49:36.717Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
