Back
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…
Medium6.1EPSS 3.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionviewGHSA-pc3m-v286-2jwj (opens in a new tab)
References (10)
- RHSA-2016:1856 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://puppet.com/security/cve/cve-2016-6316 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 92430 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2016:1855 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20160811 [CVE-2016-6316] Possible XSS Vulnerability in Action View (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2016:1858 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:1857 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [ruby-security-ann] 20160811 [CVE-2016-6316] Possible XSS Vulnerability in Action View (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-3651 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pc3m-v286-2jwj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .