p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de enshrined/svg-sanitize

Vulnérabilités publiées pour enshrined/svg-sanitize au cours des 30 derniers jours : 3. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 7

  1. CVE-2026-107381

    Moyenne · CVSS 6.5EPSS 0,47%Correctif disponible

    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

    • Mettez à jour vers 1.0.0
    Publication Mise à jour
  2. CVE-2026-107380

    Moyenne · CVSS 5.4EPSS 0,25%Correctif disponible

    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

    • Mettez à jour vers 1.0.0
    Publication Mise à jour
  3. CVE-2026-107379

    Moyenne · CVSS 6.5EPSS 0,53%Correctif disponible

    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

    • Mettez à jour vers 1.0.0
    Publication Mise à jour
  4. CVE-2025-55166

    Moyenne · CVSS 5.1EPSS 0,51%Correctif disponible

    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.

    • Mettez à jour vers 0.22.0
    Publication Mise à jour
  5. CVE-2022-23638

    Moyenne · CVSS 6.2EPSS 0,68%Correctif disponible

    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.

    • Mettez à jour vers 0.15.0
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →