rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives
概要
rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows 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.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com