Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:39806
HistoryMar 17, 2023 - 2:41 a.m.

Cross-site Scripting (XSS)

2023-03-1702:41:43
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
3

activesupport is vulnerable to Cross-site Scripting (XSS). The vulnerability exists due to output_safety.rb when the new bytesplice method is called on a SafeBuffer with untrusted user input, because the html_safe tag is not removed after being mutated which allows an attacker to inject and execute malicious JavaScript.