CVE-2020-15169
MEDIUM 6.1CVSS 3.1XSS in Action View
In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the t and translate helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.
- Published
- 11 Sep 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-cfjv-5498-mph5
- Sources
- NVDJSONOSV GHSA-cfjv-5498-mph5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | action_view_project | action_viewcpe:2.3:a:action_view_project:action_view:*:*:*:*:*:ruby:*:* |
< 5.2.4.4 | 5.2.4.4 |
| NVD | action_view_project | action_viewcpe:2.3:a:action_view_project:action_view:*:*:*:*:*:ruby:*:* |
>= 6.0.0.0, < 6.0.3.3 | 6.0.3.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| OSV | RubyGems | actionview | < 5.2.4.4 | 5.2.4.4 |
| OSV | RubyGems | actionview | >= 6.0.0.0, < 6.0.3.3 | 6.0.3.3 |
References
- https://github.com/rails/rails/security/advisories/GHSA-cfjv-5498-mph5 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/10/msg00015.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
- https://www.debian.org/security/2020/dsa-4766 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15169 · ADVISORY
- https://github.com/rails/rails/commit/e663f084460ea56c55c3dc76f78c7caeddeeb02e · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-15169.yml · WEB
- https://groups.google.com/g/rubyonrails-security/c/b-C9kSGXYrc · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Sep 2020)