{"schema_version":"1.7.3","id":"GHSA-pc3m-v286-2jwj","published":"2017-10-24T18:33:35Z","modified":"2024-02-20T05:28:07.186543Z","aliases":["CVE-2016-6316"],"summary":"actionview Cross-site Scripting vulnerability","details":"Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as \"HTML safe\" and used as attribute values in tag handlers.","affected":[{"package":{"name":"actionview","ecosystem":"RubyGems","purl":"pkg:gem/actionview"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.22.3"}]}],"database_specific":{"last_known_affected_version_range":"<= 3.2.22.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-pc3m-v286-2jwj/GHSA-pc3m-v286-2jwj.json"}},{"package":{"name":"actionview","ecosystem":"RubyGems","purl":"pkg:gem/actionview"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.2.7.1"}]}],"versions":["4.1.0","4.1.0.beta1","4.1.0.beta2","4.1.0.rc1","4.1.0.rc2","4.1.1","4.1.10","4.1.10.rc1","4.1.10.rc2","4.1.10.rc3","4.1.10.rc4","4.1.11","4.1.12","4.1.12.rc1","4.1.13","4.1.13.rc1","4.1.14","4.1.14.1","4.1.14.2","4.1.14.rc1","4.1.14.rc2","4.1.15","4.1.15.rc1","4.1.16","4.1.16.rc1","4.1.2","4.1.2.rc1","4.1.2.rc2","4.1.2.rc3","4.1.3","4.1.4","4.1.5","4.1.6","4.1.6.rc1","4.1.6.rc2","4.1.7","4.1.7.1","4.1.8","4.1.9","4.1.9.rc1","4.2.0","4.2.0.beta1","4.2.0.beta2","4.2.0.beta3","4.2.0.beta4","4.2.0.rc1","4.2.0.rc2","4.2.0.rc3","4.2.1","4.2.1.rc1","4.2.1.rc2","4.2.1.rc3","4.2.1.rc4","4.2.2","4.2.3","4.2.3.rc1","4.2.4","4.2.4.rc1","4.2.5","4.2.5.1","4.2.5.2","4.2.5.rc1","4.2.5.rc2","4.2.6","4.2.6.rc1","4.2.7","4.2.7.rc1"],"database_specific":{"last_known_affected_version_range":"<= 4.2.7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-pc3m-v286-2jwj/GHSA-pc3m-v286-2jwj.json"}},{"package":{"name":"actionview","ecosystem":"RubyGems","purl":"pkg:gem/actionview"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.0.1"}]}],"versions":["5.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-pc3m-v286-2jwj/GHSA-pc3m-v286-2jwj.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6316"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-6316.yml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ruby-security-ann/8B2iV2tPRSE"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/rubyonrails-security/I-VWr034ouk"},{"type":"WEB","url":"https://web.archive.org/web/20200227202008/http://www.securityfocus.com/bid/92430"},{"type":"WEB","url":"https://web.archive.org/web/20200812154343/https://puppet.com/security/cve/cve-2016-6316"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-1855.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-1856.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-1857.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-1858.html"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released"},{"type":"WEB","url":"http://www.debian.org/security/2016/dsa-3651"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/08/11/3"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:48:48Z","nvd_published_at":"2016-09-07T19:28:10Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}