Improper neutralization of data URIs may allow XSS in Loofah
Moderate severity
GitHub Reviewed
Published
Dec 13, 2022
in
flavorjones/loofah
•
Updated Sep 14, 2023
Description
Published to the GitHub Advisory Database
Dec 13, 2022
Reviewed
Dec 13, 2022
Published by the National Vulnerability Database
Dec 14, 2022
Last updated
Sep 14, 2023
Summary
Loofah
>= 2.1.0, < 2.19.1
is vulnerable to cross-site scripting via theimage/svg+xml
media type in data URIs.Mitigation
Upgrade to Loofah
>= 2.19.1
.Severity
The Loofah maintainers have evaluated this as Medium Severity 6.1.
References
Credit
This vulnerability was responsibly reported by Maciej Piechota (@haqpl).
References