svg-sanitizer 1.1.0未満の脆弱性 サービス妨害の恐れ
Summary
svg-sanitizer 1.0.0から1.1.0未満に、正規表現処理の脆弱性(CVE-2026-121445)が見つかりました。細工したSVGを処理させると、CPUを使い切られたり、サニタイズが失敗して未処理の内容が残ったりするおそれがあります。修正版の1.1.0が公開されているので、該当する版を使っている場合は1.1.0へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
svg-sanitizer 1.0.0から1.1.0未満に、正規表現処理の脆弱性(CVE-2026-121445)が見つかりました。細工したSVGを処理させると、CPUを使い切られたり、サニタイズが失敗して未処理の内容が残ったりするおそれがあります。修正版の1.1.0が公開されているので、該当する版を使っている場合は1.1.0へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| darylldoylesvg-sanitizer |
≥ 1.0.0, < 1.1.0→ 1.1.0 |
1.1.0 |
Original description The description as published by the source.
darylldoyle svg-sanitizer from 1.0.0 before 1.1.0 contains a regular expression denial of service vulnerability in the image-set pattern of stripRemoteCssTokens() when removeRemoteReferences is enabled. Attackers can submit SVGs with many unclosed image-set tokens to exhaust CPU, or trigger PCRE limits causing sanitize() to throw a TypeError and leave unsanitized content.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com