Skip to main content
VulnerabilityPublished Updated

CVE-2026-61823: code16 sharp · Cross-site Scripting

Affects code16 sharpSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 9.22.5 soon.

Data as of 7 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.22.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 7 Nov 2026.

What to do

Upgrade sharp and code16/sharp to 9.22.5.

Affected software

ProductAffectedFixed in
code16sharpAffected
  • <9.22.5
Fixed in
  • 9.22.5
GitHubcode16/sharppkg:github/code16/sharpOther threatsAffected
  • <9.22.5
Fixed in
  • 9.22.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to code16 Sharp version 9.22.5 or later, which removes the 'srcdoc' attribute from permitted iframe attributes, effectively patching the vulnerability. If upgrading is not immediately possible, manually sanitize all Editor field content to remove every iframe 'srcdoc' attribute before storing or rendering it.

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.

References

Community reviews

Loading reviews…