rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rhukster | dom-sanitizer | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rhukster | Dom-sanitizer |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-93vf-569f-22cq | rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.322% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rhukster
Rhukster dom-sanitizer |
|
| Vendors & Products |
Rhukster
Rhukster dom-sanitizer |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|