Lucene search

K
osvGoogleOSV:GHSA-7F42-P84J-F58P
HistoryMar 21, 2018 - 11:56 a.m.

Sanitize vulnerable to Improper Input Validation and Cross-site Scripting

2018-03-2111:56:32
Google
osv.dev
7

0.001 Low

EPSS

Percentile

50.1%

When Sanitize <= 4.6.2 is used in combination with libxml2 >= 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements.

This can allow HTML and JavaScript injection, which could result in XSS if Sanitize’s output is served to browsers.