Back
CVE-2020-5267
Possible XSS vulnerability in ActionView
Medium4.0EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.0.
Weakness
Affected products
- affected < 5.2.4.2
- affected >= 6.0.0, < 6.0.2.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionviewGHSA-65cv-r6x7-79hv (opens in a new tab)
References (6)
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20200319 [CVE-2020-5267] Possible XSS vulnerability in ActionView (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20200320 [SECURITY] [DLA 2149-1] rails security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2020:0627 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2020-4dd34860a3 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-65cv-r6x7-79hv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-5267)Record last updated .