What’s Vulnerable › Vulnerabilities

CVE-2020-5267: Possible XSS vulnerability in ActionView

Description

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.

Affected products

How to fix

Upgrade to a fixed version: rails actionview 5.2.4.2, 6.0.2.2; Rubygems Actionview 5.2.4.2, 6.0.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5267 or the next vulnerability affects your stack