Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:36266
HistoryJul 06, 2022 - 6:09 a.m.

Cross-site Scripting (XSS)

2022-07-0606:09:21
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
66
cross-site scripting
rails
html sanitizer
javascript
style override

EPSS

0.001

Percentile

47.4%

rails-html-sanitizer is vulnerable to cross-site scripting attacks. An attacker is able to inject and execute malicious javascript through the sanitize_css function when the library is configured to override the style tags to allow both select and style elements.