Lucene search

K
friendsofphpOpenJS FoundationFRIENDSOFPHP:ENSHRINED
HistoryFeb 15, 2022 - 1:54 a.m.

A cross-site scripting vulnerability

2022-02-1501:54:00
OpenJS Foundation
github.com
10
cross-site scripting
html elements
cdata section

EPSS

0.001

Percentile

27.5%

Description Impact SVG sanitizer library before version 0.15.0 did not remove HTML elements wrapped in a CDATA section. As a result, SVG content embedded in HTML (fetched as text/html) was susceptible to cross-site scripting. Plain SVG files (fetched as image/svg+xml) were not affected. Patches This issue is fixed in 0.15.0 and higher. Workarounds There is currently no workaround available without upgrading. For more information If you have any questions or comments about this advisory: Open an issue in Github Email us at [email protected] References GHSA-fqx8-v33p-4qcc darylldoyle/svg-sanitizer@17e12ba https://nvd.nist.gov/vuln/detail/CVE-2022-23638 darylldoyle/svg-sanitizer#71