# CVE-2020-15169: XSS in Action View

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.36%, higher than 84% of CVEs (2026-12-01)
- Published: 2020-09-11T15:19:57.000Z
- Modified: 2026-09-10T03:49:13.488Z
- Also known as: GHSA-cfjv-5498-mph5
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rails actionview: < 5.2.4.4; >= 6.0.0.0, < 6.0.3.3
- actionview (RubyGems): before 5.2.4.4; from 6.0.0.0 before 6.0.3.3
- action_view_project action_view: before 5.2.4.4; from 6.0.0.0 before 6.0.3.3
- debian debian_linux: 10.0
- fedoraproject fedora: 33

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-cfjv-5498-mph5> (patch, third-party-advisory, web)
- <https://www.debian.org/security/2020/dsa-4766> (third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/10/msg00015.html> (mailing-list, 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)

## Sources

- CVE List: [CVE-2020-15169](https://www.cve.org/CVERecord?id=CVE-2020-15169), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cfjv-5498-mph5](https://github.com/advisories/GHSA-cfjv-5498-mph5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15169](https://nvd.nist.gov/vuln/detail/CVE-2020-15169), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15169 · Whole record: https://cve.day/CVE-2020-15169.json · Rebuilt by cve.day 2026-11-25T22:57:54.612Z
