svg-sanitizer 0.5.0 before 1.1.0 Incomplete url() Filtering in SVG Attributes
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| darylldoylesvg-sanitizer |
≥ 0.5.0, < 1.1.0→ 1.1.0 |
1.1.0 |
Original description The description as published by the source.
svg-sanitizer from 0.5.0 before 1.1.0 contains an incomplete filtering vulnerability that allows attackers to bypass remote URL removal by using CSS escape sequences inside url() in SVG presentation attributes. Attackers can supply SVG files with attributes like fill containing escaped slashes that browsers resolve to remote URLs, triggering external requests and enabling data exfiltration.
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