p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in enshrined/svg-sanitize

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für enshrined/svg-sanitize: 3. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 7

  1. CVE-2026-107381

    Mittel · CVSS 6.5EPSS 0,47%Korrektur verfügbar

    svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences

    svg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, Resolver::processReferences() in src/ElementReference/Resolver.php builds the SVG <use> reference graph with a case-sensitive href attribute predicate before cleanHrefAttributes() normalizes mixed-case names. An attacker can provide xlink:HrEf on nested <use> elements so the graph omits those references, after which the sanitizer converts the attribute to canonical xlink:href and returns the live nesting structure without applying the useNestingLimit protection. A consuming application that renders the sanitized SVG can therefore be exposed to the resource exhaustion that control is de

    • Auf 1.0.0 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-107380

    Mittel · CVSS 5.4EPSS 0,25%Korrektur verfügbar

    enshrined/svg-sanitize: Stored XSS via DTD Entity / HTML5 Named Character Reference Collision

    savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer's isHrefSafeValue() validates an SVG href after XML DTD entity expansion, but saveXML() serializes the original entity reference after removing the DTD declaration. A crafted entity such as Tab can appear to the sanitizer as a safe fragment prefix while HTML5 Named Character Reference resolution during inline HTML rendering later converts the surviving reference to whitespace, exposing a javascript: URL. When an application embeds the sanitized SVG inline, a user who activates the link can cause script to execute in the embedding page's origin. This issue is fixed in ver

    • Auf 1.0.0 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-107379

    Mittel · CVSS 6.5EPSS 0,53%Korrektur verfügbar

    enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash

    savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer allows a crafted SVG DTD with a #FIXED attribute default to make cleanAttributesOnWhitelist() perform a double DOMElement::removeAttribute() call on the same attribute name in src/Sanitizer.php. The first removal deletes the explicit attribute, while the DTD default rematerializes the value before the href safety path performs the second removal, which can corrupt libxml state and terminate the PHP worker. An attacker who can submit SVG content to a sanitization endpoint can repeatedly interrupt workers and degrade or exhaust application availability. This issue is fixed

    • Auf 1.0.0 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2025-55166

    Mittel · CVSS 5.1EPSS 0,51%Korrektur verfügbar

    svg-sanitizer By-Passing Attribute Sanitization

    savg-sanitizer is a PHP SVG/XML sanitizer. Prior to version 0.22.0, the sanitization logic in the cleanXlinkHrefs method only searches for lower-case attribute name, which allows to by-pass the isHrefSafeValue check. As a result this allows cross-site scripting or linking to external domains. This issue has been patched in version 0.22.0.

    • Auf 0.22.0 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2022-23638

    Mittel · CVSS 6.2EPSS 0,68%Korrektur verfügbar

    Cross-site Scripting in svg-sanitizer

    svg-sanitizer is a SVG/XML sanitizer written in PHP. A cross-site scripting vulnerability impacts all users of the `svg-sanitizer` library prior to version 0.15.0. This issue is fixed in version 0.15.0. There is currently no workaround available.

    • Auf 0.15.0 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →