svg-sanitizer 0.11.0 before 1.1.0 Uncaught LogicException DoS via sanitize()
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| darylldoylesvg-sanitizer |
≥ 0.11.0, < 1.1.0→ 1.1.0 |
1.1.0 |
Original description The description as published by the source.
svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught exception vulnerability that allows attackers to crash callers by submitting well-formed XML without a top-level svg root. Attackers can supply documents with a non-svg root or nested svg element, causing Sanitizer::sanitize() to throw a LogicException instead of returning false, crashing workers or bypassing upload rejection.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web github.com