CVE-2020-5267
MEDIUM 4.8CVSS 3.1Cross site scripting vulnerability in ActionView
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.
- Published
- 19 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79CWE-80
- Also known as
- GHSA-65cv-r6x7-79hv
- Sources
- NVDJSONOSV GHSA-65cv-r6x7-79hvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | actionviewcpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:* |
< 5.2.4.2 | 5.2.4.2 |
| NVD | rubyonrails | actionviewcpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.2.2 | 6.0.2.2 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| OSV | RubyGems | actionview | < 5.2.4.2 | 5.2.4.2 |
| OSV | RubyGems | actionview | >= 6.0.0, < 6.0.2.2 | 6.0.2.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2020/03/19/1 · Exploit, Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a · Patch, Third Party Advisory, WEB
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv · Exploit, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
- https://nvd.nist.gov/vuln/detail/CVE-2020-5267 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-5267.yml · WEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/55reWMM_Pg8 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Mar 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Mar 2020)