Live threats

All CVEs / Rubyonrails

CVE-2020-5267Rubyonrails Actionview

Medium 4.8

Priority
29
CVSS 3.1
4.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Mar 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-80, CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Actionview.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionview < 5.2.4.2 5.2.4.2 gem "actionview", ">= 5.2.4.2"
RubyGems actionview ≥ 6.0.0 < 6.0.2.2 6.0.2.2 gem "actionview", ">= 6.0.2.2"

Per OSV / GitHub Advisories (GHSA-65cv-r6x7-79hv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsactionview< 5.2.4.2
rubyonrailsactionview≥ 6.0.0 < 6.0.2.2
debiandebian_linux8.0
fedoraprojectfedora33
opensuseleap15.1

Official sources

References

Links published by the sources. Open them with care.