Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-5267

rubygem-actionview: views that use the `j` or `escape_javascript` methods are susceptible to XSS attacks

Overview

Published
19 Mar 2020
Modified
17 Jun 2026
Medium CVE
1 Registry packages
460 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.8 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

Weakness: CWE-80, CWE-79

Affected packages · 1

Packages affected by CVE-2020-5267
EcosystemPackageVulnerableFixed in
RubyGems actionview <5.2.4.2>=6.0.0, <6.0.2.2 5.2.4.26.0.2.2~> 5.2.4, >= 5.2.4.2

Open a package to see all its vulnerabilities.

Operating systems · 352 fixes

Red Hat 2 releases · 342 packages

wont fix 3 fixed 340
cfme-amazon-smartstate rh-ror50-rubygem-actionview tfm-rubygem-kafo-wizards tfm-rubygem-declarative tfm-rubygem-hammer-cli-foreman-tasks tfm-rubygem-smart-proxy-dhcp-infoblox +336
Red Hat fixes for CVE-2020-5267
ReleasePackageFixed inAdvisory
7 cfme-amazon-smartstate +1 wont fix —
7 rh-ror50-rubygem-actionview +1 wont fix —
7 tfm-rubygem-kafo-wizards 0:0.0.1-4.el7sat RHSA-2020:4366
7 tfm-rubygem-declarative 0:0.0.10-1.el7sat RHSA-2020:4366
7 tfm-rubygem-hammer-cli-foreman-tasks 0:0.0.14-1.el7sat RHSA-2020:4366
7 tfm-rubygem-smart-proxy-dhcp-infoblox 0:0.0.16-3.el7sat RHSA-2020:4366

337 more rows

debian 6 releases · 1 package

fixed 6
rails
debian fixes for CVE-2020-5267
ReleasePackageFixed in
10 rails 2:5.2.2.1+dfsg-1+deb10u1
11 rails 2:5.2.4.1+dfsg-2
12 rails 2:5.2.4.1+dfsg-2
13 rails 2:5.2.4.1+dfsg-2
14 rails 2:5.2.4.1+dfsg-2
9 rails 2:4.2.7.1-1+deb9u2

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2020-5267
ReleasePackageFixed in
rails 2:5.2.4.1+dfsg-2

openSUSE 1 release · 2 packages

fixed 2
ruby2-7-rubygem-actionview-6-0 ruby3-1-rubygem-actionview-6-0
openSUSE fixes for CVE-2020-5267
ReleasePackageFixed inAdvisory
Tumbleweed ruby2-7-rubygem-actionview-6-0 +1 6.0.4-1.2 openSUSE-SU-2024:11321-1
Tumbleweed ruby3-1-rubygem-actionview-6-0 6.0.4.4-1.1 openSUSE-SU-2024:11823-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.