Crass 是一个完全符合 CSS 语法第 3 级规范的 Ruby CSS 解析器。在 1.0.7 版本之前,当未启用 选项(该选项默认未启用)时,Crass 会通过递归读取下一个标记的方式丢弃 CSS 注释。如果攻击者提供的样式表包含大量相邻注释,将导致过度递归并触发 ,从而使解析服务不可用(拒绝服务)。启用注释保留功能可避免进入该递归路径。此问题已在 1.0.7 版本中修复。
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.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-61845 | 8.9 HIGH | Crass: Large numeric exponents cause CPU and memory denial of service |
| CVE-2026-61846 | 6.3 MEDIUM | Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive |
| CVE-2026-61848 | 6.3 MEDIUM | Crass: Non-ASCII characters cause superlinear CPU consumption |