CVE-2026-30838
中文标题:
(暂无数据)
英文标题:
league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension
漏洞描述
中文描述:
(暂无数据)
英文描述:
league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML Purifier) on the rendered output are not affected. This issue has been patched in version 2.8.1.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| thephpleague | commonmark | * | - | - |
cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
nvd.nist.gov
CVSS评分详情
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| NVD | nvd_CVE-2026-30838 |
2026-03-08 02:00:04 | 2026-03-07 22:00:01 |
版本与语言
安全公告
变更历史
查看详细变更
- severity: SeverityLevel.UNKNOWN -> SeverityLevel.MEDIUM
- cvss_score: 未提取 -> 6.1
- cvss_vector: 未提取 -> CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- cvss_version: 未提取 -> 3.1
- affected_products_count: 0 -> 1