{"schema_version":"1.7.3","id":"GHSA-35mm-cc6r-8fjp","published":"2021-04-07T20:58:47Z","modified":"2024-02-16T07:59:11.354962Z","aliases":["CVE-2020-8264"],"summary":"Cross-site scripting in actionpack","details":"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.\n\nWorkarounds\n-----------\nUntil 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":[{"package":{"name":"actionpack","ecosystem":"RubyGems","purl":"pkg:gem/actionpack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.3.4"}]}],"versions":["6.0.0","6.0.1","6.0.1.rc1","6.0.2","6.0.2.1","6.0.2.2","6.0.2.rc1","6.0.2.rc2","6.0.3","6.0.3.1","6.0.3.2","6.0.3.3","6.0.3.rc1"],"database_specific":{"last_known_affected_version_range":"<= 6.0.3.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-35mm-cc6r-8fjp/GHSA-35mm-cc6r-8fjp.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8264"},{"type":"WEB","url":"https://hackerone.com/reports/904059"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2020-8264.yml"},{"type":"WEB","url":"https://groups.google.com/g/rubyonrails-security/c/yQzUVfv42jk"},{"type":"WEB","url":"https://groups.google.com/g/rubyonrails-security/c/yQzUVfv42jk/m/oJWw-xhNAQAJ"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2021-04-06T23:19:13Z","nvd_published_at":"2021-01-06T21:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}