Description (CNA)
DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows <style> elements in SVG content but never inspects their text content. CSS url() references and @import rules pass through unfiltered, causing the browser to issue HTTP requests to attacker-controlled hosts when the sanitized SVG is rendered. Version 1.0.10 fixes the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rhukster / dom-sanitizer | affected < 1.0.10 |
CWE
CWE-79
References
- https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq
- https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2
- https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10
ADP enrichment
No English description supplied.
No references supplied.