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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"source": "CPE_STRING"
},
{
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
]
}
]
}{
"cpe": [
"cpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.2.4.2"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.2.2"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
]
}