Vulnerability · Published Jan 6, 2021 · Assigned by hackerone
CVE-2020-8264
Medium 6.1
In plain English
A medium-severity cross-site scripting in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 67.0% (higher than 99.3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in development mode allowing an attacker to send or embed (in another page) a specially crafted URL which can allow the attacker to execute JavaScript in the context of the local application. This vulnerability is in the Actionable Exceptions middleware.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:6.0.3.4+dfsg-1 | DEBIAN-CVE-2020-8264 |
| Debian:13 | rails | 2:6.0.3.4+dfsg-1 | DEBIAN-CVE-2020-8264 |
| Debian:14 | rails | 2:6.0.3.4+dfsg-1 | DEBIAN-CVE-2020-8264 |
| RubyGems | actionpack | 6.0.3.4 | GHSA-35mm-cc6r-8fjp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | 6.0.3.4 |
Weakness: CWE-79
References
- https://hackerone.com/reports/904059 x_refsource_MISC
- https://groups.google.com/g/rubyonrails-security/c/yQzUVfv42jk/m/oJWw-xhNAQAJ x_refsource_MISC