CVE-2020-5267
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. Limited direct impact.
- Exploit odds
- 1.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.5% in the next 30 days (EPSS).
- Severity: 4.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.5% · EPSS, next 30 days
- Weakness
- CWE-80
- Record status
- Modified
Affected
- Rubyonrails Actionview < 5.2.4.2
- Rubyonrails Actionview < 6.0.2.2
- Debian Linux 8.0
- Fedoraproject Fedora 33
- Opensuse Leap 15.1
Attack profile CVSS 3.1 · 4.0
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-5267.md and follow it. Check whether this project is affected by CVE-2020-5267. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
- 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
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html
- 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
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html
- 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
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/