Live threats

All CVEs / code16

CVE-2026-61823code16 sharp

High 7.3

Priority
44
CVSS 3.1
7.3
EPSS
—
Auth required
Yes
Published
Sep 24, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for sharp.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist code16/sharp < 9.22.5 9.22.5 composer require "code16/sharp:^9.22.5"

Per OSV / GitHub Advisories (GHSA-qxg3-46rw-79j8). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.