p PatchFirst

CVE-2026-40301

CVE-2026-40301 · 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 <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 · Средний · EPSS 0,3% · Есть исправление

Опубликовано
Обновлено

Стек: php

Затронутые продукты и версии

  • dom-sanitizer

    Версии
    • < 1.0.10: Затронуто

    Нет опубликованного исправления

  • rhukster/dom-sanitizer Packagist

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.0.10

    Обновитесь до 1.0.10

Первоисточники

Проверьте свой сервер →