Lucene search

K
typo3TYPO3 AssociationTYPO3-PSA-2022-001
HistoryFeb 22, 2022 - 12:00 a.m.

Sanitization bypass in SVG Sanitizer

2022-02-2200:00:00
TYPO3 Association
typo3.org
28
svg sanitizer
html elements
cdata section
cross-site scripting

EPSS

0.001

Percentile

27.5%

The SVG sanitizer library enshrined/svg-sanitize 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.