Lucene search

K
osvGoogleOSV:GHSA-WG96-3933-J2W5
HistoryNov 09, 2018 - 5:45 p.m.

Cross-Site Scripting in sanitize-html

2018-11-0917:45:55
Google
osv.dev
9

0.001 Low

EPSS

Percentile

46.4%

Affected versions of sanitize-html are vulnerable to cross-site scripting.

Proof of Concept:

<img src>
produces the following:

<img src />
This is definitely invalid HTML, but would suggest that it’s being interpreted incorrectly by the parser.

Recommendation

Update to version 1.2.3 or later.

CPENameOperatorVersion
sanitize-htmllt1.2.3

0.001 Low

EPSS

Percentile

46.4%