CVE-2026-40301
CVE-2026-40301 · rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 4.7 · Mittel · EPSS 0,3% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: php
Betroffene Produkte und Versionen
dom-sanitizer
- Softwareversionen
- < 1.0.10: Betroffen
Keine Korrektur veröffentlicht
rhukster/dom-sanitizer Packagist
- Softwareversionen
- 1.0.0
- 1.0.1
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.0.9
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.0.10
Auf 1.0.10 aktualisieren