Skip to content
Fencer Vulns
medium 4.0

CVE-2020-5267 json

Possible XSS vulnerability in ActionView

published 2020-03-19 6 y ago modified 2026-07-08 4 mo ago also EUVD-2020-0332 , GHSA-65cv-r6x7-79hv

cvss
4.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems actionview 5.2.4.2, 6.0.2.2
  • rubyonrails actionview 5.2.4.2, 6.0.2.2
  • rails Debian 14, Debian 13, Debian 12 2:5.2.4.1+dfsg-2

debian advisories DEBIAN-CVE-2020-5267

  • tfm satellite capsule 6.8, satellite 6.8 6.1-1.el7sat
  • kobo satellite capsule 6.8, satellite 6.8 0.5.1-1.el7sat
  • pulp satellite capsule 6.8, satellite 6.8 2.21.3-1.el7sat
  • gofer satellite capsule 6.8, satellite 6.8 2.12.5-7.el7sat
  • future satellite capsule 6.8, satellite 6.8 0.16.0-11.el7sat
  • ostree satellite capsule 6.8, satellite 6.8 2017.1-2.atomic.el7
  • foreman satellite capsule 6.8, satellite 6.8 2.1.2.19-1.el7sat
  • katello satellite capsule 6.8, satellite 6.8 3.16.0-1.el7sat

red hat advisories RHSA-2020:4366

  • rmt-server SLE Module for Server Applications 15 SP1, SLE Module for Public Cloud 15 SP1 2.6.5-3.18.1
  • rmt-server SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.6.5-3.34.1
  • rmt-server SLE Module for Server Applications 15 SP2, SLE Module for Public Cloud 15 SP2 2.6.5-3.3.1
  • rubygem-actionview-5_1 SLE High Availability Extension 15 SP1, SLE High Availability Extension 15 5.1.4-3.3.1
  • rubygem-actionview-4_2 OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8, OpenStack Cloud 7 4.2.9-9.6.1

suse advisories SUSE-SU-2020:3160-1SUSE-SU-2020:3147-1SUSE-SU-2020:3036-1SUSE-SU-2020:1178-1SUSE-SU-2020:0954-1

  • rubygem-actionview-6.0 openSUSE Tumbleweed 6.0.4.4-1.1
  • rmt-server openSUSE Leap 15.1 2.6.5-lp151.2.18.2
  • rmt-server openSUSE Leap 15.2 2.6.5-lp152.2.3.1
  • rubygem-actionview-5_1 openSUSE Leap 15.1 5.1.4-lp151.3.3.1

opensuse advisories openSUSE-SU-2024:11823-1openSUSE-SU-2020:2000-1openSUSE-SU-2020:1993-1openSUSE-SU-2020:0627-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-5267 updated cvss 0.0

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

  • Red Hat CloudForms Management Engine 5 cfme-gemset, cfme-amazon-smartstate Red Hat Software Collections rh-ror50-rubygem-actionview
    affected: no fix planned “Will not fix”
  • Red Hat Satellite 6.8 tfm 6.1-1.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.3-1.el7sat, gofer 2.12.5-7.el7sat, receptor 0.6.3-1.el7ar, future 0.16.0-11.el7sat, +492 more Red Hat Satellite Capsule 6.8 tfm 6.1-1.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.3-1.el7sat, gofer 2.12.5-7.el7sat, future 0.16.0-11.el7sat, katello 3.16.0-1.el7sat, +246 more
    fixed: vendor fix RHSA-2020:4366

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://www.openwall.com/lists/oss-security/2020/03/19/1 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems actionview
<5.2.4.2
>=6.0.0, <6.0.2.2
5.2.4.2
6.0.2.2

Affected products

  • rails actionview

Classification

Weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.