PT-2019-12043 · Svg Sanitize · Svg-Sanitizer

Sam Sanoop

·

Published

2019-12-11

·

Updated

2020-02-27

·

CVE-2019-10772

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions svg-sanitize versions prior to 0.13.1
Description The issue arises from the mishandling of the xlink namespace by the sanitizer, allowing bypass of svg-sanitize using the xlink:href attribute.
Recommendations For versions prior to 0.13.1, update to version 0.13.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the xlink:href attribute in the sanitizer until a patch is available.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-10772
GHSA-8RC5-HX3V-2JG7
SNYK-PHP-ENSHRINEDSVGSANITIZE-536969

Affected Products

Svg-Sanitizer