Lucene search

K
osvGoogleOSV:GHSA-MCVF-2Q2M-X72M
HistoryDec 13, 2022 - 5:45 p.m.

Improper neutralization of data URIs may allow XSS in rails-html-sanitizer

2022-12-1317:45:39
Google
osv.dev
15

0.001 Low

EPSS

Percentile

40.0%

Summary

rails-html-sanitizer >= 1.0.3, < 1.4.4 is vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0.

Mitigation

Upgrade to rails-html-sanitizer >= 1.4.4.

Severity

The maintainers have evaluated this as Medium Severity 6.1.

References

Credit

This vulnerability was independently reported by Maciej Piechota (@haqpl) and Mrinmoy Das (@goromlagche).