In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the j or escape_javascript methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "5.2.4.2"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.2.2"
},
{
"introduced": "0"
},
{
"last_affected": "8.0"
}
]
}