6.1med

CVE-2016-6316

actionview Cross-site Scripting vulnerability

Also known as GHSA-pc3m-v286-2jwj

Published 10 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.4%
percentile 89%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

3.44% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactionview
>=3.0.0, <3.2.22.3
>=4.0.0, <4.2.7.1
>=5.0.0, <5.0.0.1
3.2.22.3
4.2.7.1
5.0.0.1

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds
Ruby on Rails (RSS, critical only)

References

  • rhn.redhat.com /errata/RHSA-2016-1856.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • puppet.com /security/cve/cve-2016-6316 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/92430 · vdb-entry, x_refsource_BID, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-1855.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • openwall.com /lists/oss-security/2016/08/11/3 · mailing-list, x_refsource_MLIST, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-1858.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-1857.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • weblog.rubyonrails.org /2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ · x_refsource_CONFIRM, x_transferred
  • groups.google.com /forum/#%21topic/ruby-security-ann/8B2iV2tPRSE · mailing-list, x_refsource_MLIST, x_transferred
  • debian.org /security/2016/dsa-3651 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-6316 · advisory
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-6316.yml · web
  • groups.google.com /forum/#!topic/ruby-security-ann/8B2iV2tPRSE · web
  • groups.google.com /forum/#!topic/rubyonrails-security/I-VWr034ouk · web
  • web.archive.org /web/20200227202008/http://www.securityfocus.com/bid/92430 · web
  • web.archive.org /web/20200812154343/https://puppet.com/security/cve/cve-2016-6316 · web
  • weblog.rubyonrails.org /2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.