Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-61823— code16 Sharp vulnerable to stored XSS via iframe srcdoc Attribute

Quick assessment

Affected
code16 sharp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

code16 Sharp 是一个基于 Laravel 的框架,用于构建内容管理系统(CMS)和管理界面。在 9.22.5 版本之前的版本中存在一个存储型跨站脚本(XSS)漏洞,原因在于富文本编辑器中的 HTML sanitizer(净化器)允许 iframe 元素使用 属性。尽管在净化过程中, 内部的标记会被进行 HTML 编码,但浏览器在解释 iframe 文档之前会先对属性实体进行解码,这使得具有编辑 Editor 字段权限的已认证用户可以存储可执行的 JavaScript 代码,当其他用户查看该内容时便会触发

CVSS 7.3 · High EPSS 0.21% · P11

Affected Version Matrix 1

VendorProduct Version RangeStatus
code16 sharp < 9.22.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61823

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
code16 Sharp vulnerable to stored XSS via iframe srcdoc Attribute
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
code16 sharp < 9.22.5 -

II. Public POCs for CVE-2026-61823

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61823

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-61823 (1)

Vendor Advisories for CVE-2026-61823 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-61823

No comments yet


Leave a comment