CVE-2020-8264
MEDIUM6.1EPSS 2.1%Cross-site scripting in actionpack
Published: 4/7/2021Modified: 2/16/2024
Also known as:GHSA-35mm-cc6r-8fjp
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. Workarounds ----------- Until such time as the patch can be applied, application developers should disable the Actionable Exceptions middleware in their development environment via a line such as this one in their config/environment/development.rb: `config.middleware.delete ActionDispatch::ActionableExceptions`
Affected packages (2)
- Debian/railsfrom 0, < 2:6.0.3.4+dfsg-1
- RubyGems/actionpack>= 6.0.0, < 6.0.3.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-8264
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-8264
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2020-8264.yml
- WEBhttps://groups.google.com/g/rubyonrails-security/c/yQzUVfv42jk
- WEBhttps://groups.google.com/g/rubyonrails-security/c/yQzUVfv42jk/m/oJWw-xhNAQAJ
- WEBhttps://hackerone.com/reports/904059