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.
Exploitability
AV:NAC:HPR:HUI:RScope
S:CImpact
C:LI:LA:N4/CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:NOther