XSS in Rubyonrails Rails
CVE-2016-6316
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.034, 89.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 3.0.0, 3.0.1, 3.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4, 3.2.14, 3.2.15
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (appcanary/appcanary.rb, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2016:1856 (vendor-advisory)
- puppet.com/security/cve/cve-2016-6316
- www.securityfocus.com/bid/92430 (vdb-entry)
- RHSA-2016:1855 (vendor-advisory)
- [oss-security] 20160811 [CVE-2016-6316] Possible XSS Vulnerability in Action View (mailing-list, Third Party Advisory)
- RHSA-2016:1858 (vendor-advisory)
- RHSA-2016:1857 (vendor-advisory)
- weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-r… (Release Notes, Vendor Advisory)
- [ruby-security-ann] 20160811 [CVE-2016-6316] Possible XSS Vulnerability in Action View (mailing-list)
- DSA-3651 (vendor-advisory, Third Party Advisory)