Live threats

All CVEs / Svg-sanitizer Project

CVE-2019-10772Svg-sanitizer Project Svg-sanitizer

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Dec 11, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

It is possible to bypass enshrined/svg-sanitize before 0.13.1 using the "xlink:href" attribute due to mishandling of the xlink namespace by the sanitizer.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svg-sanitizer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist enshrined/svg-sanitize < 0.13.1 0.13.1 composer require "enshrined/svg-sanitize:^0.13.1"

Per OSV / GitHub Advisories (GHSA-8rc5-hx3v-2jg7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
svg-sanitizer_projectsvg-sanitizer< 0.13.1

Official sources

References

Links published by the sources. Open them with care.

  • snyk.io Exploit Third Party Advisory