What’s Vulnerable › Vulnerabilities
CVE-2016-6316
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-09-07 · updated 2026-06-17
- Weakness: CWE-79
Description
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 products
- Debian Linux: 8.0
- Ruby on Rails: 3.0.0, 3.0.0-beta, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-rc (+195)
- rubyonrails Ruby On Rails: 3.0.4, 3.2.14, 3.2.14-rc1, 3.2.14-rc2, 3.2.15-rc1, 3.2.15-rc2 (+14)
References
- http://rhn.redhat.com/errata/RHSA-2016-1855.html
- http://rhn.redhat.com/errata/RHSA-2016-1856.html
- http://rhn.redhat.com/errata/RHSA-2016-1857.html
- http://rhn.redhat.com/errata/RHSA-2016-1858.html
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/
- http://www.debian.org/security/2016/dsa-3651
- http://www.openwall.com/lists/oss-security/2016/08/11/3
- http://www.securityfocus.com/bid/92430
- https://groups.google.com/forum/#%21topic/ruby-security-ann/8B2iV2tPRSE
- https://puppet.com/security/cve/cve-2016-6316
- http://rhn.redhat.com/errata/RHSA-2016-1855.html
- http://rhn.redhat.com/errata/RHSA-2016-1856.html
Get alerted when CVE-2016-6316 or the next vulnerability affects your stack