CVE-2020-5267

MEDIUMCVSS 4.8/10EPSS 1.54%

Last modified

CVE-2020-5267 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 1.54% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.8/10

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
1.54%

71.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RubyonrailsActionview< 5.2.4.2
RubyonrailsActionview>= 6.0.0, < 6.0.2.2
DebianDebian Linux8.0
FedoraprojectFedora33
OpensuseLeap15.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-5267?
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.
How severe is CVE-2020-5267?
CVE-2020-5267 has a CVSS score of 4.8/10 (MEDIUM severity). The EPSS model estimates a 1.54% probability of exploitation in the next 30 days.
How do I fix CVE-2020-5267?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-5267?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST