Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.1

CVE-2019-10772: Bypassing Security Filters in svg-sanitizer

CVE-2019-10772 · published 6 years ago
Summary

A security filter in svg-sanitizer can be bypassed, allowing malicious SVG code to be injected. This affects users of svg-sanitizer before version 0.13.1. To stay secure, update to the latest version of svg-sanitizer.

What to do
  • Update enshrined svg-sanitize to version 0.13.1.
  • Update enshrined enshrined/svg-sanitize to version 0.13.1.
  • Update svg-sanitizer_project svg-sanitizer to version 0.13.1 or later.
Affected software
Ecosystem VendorProductAffected versions
composer enshrined svg-sanitize < 0.13.1
Fix: upgrade to 0.13.1
– svg-sanitizer_project svg-sanitizer < 0.13.1
cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:*
Packagist enshrined enshrined/svg-sanitize < 0.13.1
Fix: upgrade to 0.13.1
Original advisory text
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.
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
6.1 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published11 Dec 2019
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta