CVE-2020-5267
published medium CVSS 3.1 · 4.0Possible XSS vulnerability in ActionView
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | actionview< 5.2.4.2 · >= 6.0.0, < 6.0.2.2 | Affected | Not stated | GitHub_M |
| Debian | jessie | rails | Advisory build | 2:4.1.8-1+deb8u6 | DLA-2149-1 |
| SUSE / openSUSE | SLE-15 | rmt-serveraarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-servers390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
Show 54 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15 | rmt-server-configs390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionview-5_1aarch64 | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionview-5_1ppc64le | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionview-5_1s390x | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionview-5_1x86_64 | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serveraarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-servers390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configs390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionview-5_1aarch64 | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionview-5_1ppc64le | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionview-5_1s390x | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionview-5_1x86_64 | Advisory build | 5.1.4-3.3.1 | SUSE-SU-2020:1178-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serveraarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-servers390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configs390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-serverx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-rubygem-actionview-5_1x86_64 | Advisory build | 5.1.4-lp151.3.3.1 | OPENSUSE-SU-2020:0627-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-rubygem-actionview-doc-5_1x86_64 | Advisory build | 5.1.4-lp151.3.3.1 | OPENSUSE-SU-2020:0627-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-serverx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionview-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionview-6.0ppc64le | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionview-6.0s390x | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionview-6.0x86_64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionview-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionview-6.0ppc64le | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionview-6.0s390x | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionview-6.0x86_64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11321-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionview-6.0aarch64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11823-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionview-6.0ppc64le | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11823-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionview-6.0s390x | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11823-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionview-6.0x86_64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11823-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | actionview | < 5.2.4.2 (affected)>= 6.0.0, < 6.0.2.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
6- openSUSE-SU-2020:0627 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html
- [oss-security] 20200319 [CVE-2020-5267] Possible XSS vulnerability in ActionView http://www.openwall.com/lists/oss-security/2020/03/19/1
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv
- [debian-lts-announce] 20200320 [SECURITY] [DLA 2149-1] rails security update https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html
- FEDORA-2020-4dd34860a3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
Provider assertions
2GitHub_M · cna
Possible XSS vulnerability in ActionView
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ff027cca59e7f44fd904118c4bc6ae72b98b23fc4894205ca7078c030028a5eb
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record