目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-45623— PostCSS CSS注释中sourceMappingURL任意文件读取与信息泄露

一分钟漏洞结论

影响对象
postcss postcss
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

PostCSS 接收一个 CSS 文件,并通过将规则转换为抽象语法树(Abstract Syntax Tree, AST),提供分析和修改这些规则的 API。在版本 8.5.11 及更早版本中,PreviousMap 会解析通过 函数传入的任意 CSS 字符串中的 注释,并针对本地文件系统对 PATH 进行解引用,过程中未使用任何协议前缀(scheme)、白名单或路径遍历检查。攻击者若能控制 CSS 输入,便可促使主机进程读取 Node.js 环境下可读的任何文件,并通过由此触发的 语法错误消息,泄露该文件内容的前

CVSS 7.5 · High EPSS 0.61% · P47

影响版本矩阵 1

厂商产品 版本范围状态
postcss postcss < 8.5.12 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-45623 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
来源: CVE Program / CVE List V5
Vulnerability Description
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
postcss postcss < 8.5.12 -

二、漏洞 CVE-2026-45623 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5992 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-45623 的情报信息

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

CVE-2026-45623 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45623

暂无评论


发表评论