Skip to content
Fencer Vulns
medium 6.1

CVE-2016-6316 json

actionview Cross-site Scripting vulnerability

published 2016-09-07 10 y ago modified 2026-06-17 4 mo ago also GHSA-pc3m-v286-2jwj , EUVD-2017-0281

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, 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.

Patch / fix

  • rubygems actionview 3.2.22.3, 4.2.7.1, 5.0.0.1
  • rails Debian 14, Debian 13, Debian 12 2:4.2.7.1-1

debian advisories DEBIAN-CVE-2016-6316

  • rh-ror42-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.2.6-3.el7
  • rh-ror42-rubygem-actionview RHEL 2 SOFTWARE_COLLECTIONS 4.2.6-3.el7
  • rh-ror42-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:4.2.6-3.el7
  • ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-20.el6
  • ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-20.el7
  • ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-8.el6
  • ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-8.el7
  • rh-ror41-rubygem-actionview RHEL 2 SOFTWARE_COLLECTIONS 4.1.5-6.el6

red hat advisories RHSA-2016:1855RHSA-2016:1858RHSA-2016:1857RHSA-2016:1856

  • rubygem-rails-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-3.3.1
  • rubygem-railties-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-3.3.1
  • rubygem-activejob-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-3.3.1
  • rubygem-actionpack-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-7.3.1
  • rubygem-actionview-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-9.3.1
  • rubygem-activemodel-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-6.3.1
  • rubygem-actionmailer-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-3.3.1
  • rubygem-activerecord-4_2 OpenStack Cloud 7, OpenStack Cloud 6, Enterprise Storage 4 +1 more 4.2.9-6.3.1

suse advisories SUSE-SU-2017:2716-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-6316 updated cvss 6.1

rubygem-actionview: cross-site scripting flaw in Action View

  • Red Hat Subscription Asset Manager ruby193-rubygem-actionpack
    affected: no fix available
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) ror40-rubygem-actionpack 4.0.2-8.el6, rh-ror41-rubygem-actionview 4.1.5-6.el6, ruby193-rubygem-actionpack 3.2.8-20.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) ror40-rubygem-actionpack 4.0.2-8.el7, rh-ror41-rubygem-actionview 4.1.5-6.el7, rh-ror42-rubygem-actionpack 4.2.6-3.el7, rh-ror42-rubygem-actionview 4.2.6-3.el7, ruby193-rubygem-actionpack 3.2.8-20.el7, rh-ror42-rubygem-activerecord 4.2.6-3.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) ror40-rubygem-actionpack 4.0.2-8.el6, rh-ror41-rubygem-actionview 4.1.5-6.el6, ruby193-rubygem-actionpack 3.2.8-20.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) ror40-rubygem-actionpack 4.0.2-8.el6, rh-ror41-rubygem-actionview 4.1.5-6.el6, ruby193-rubygem-actionpack 3.2.8-20.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) ror40-rubygem-actionpack 4.0.2-8.el7, rh-ror41-rubygem-actionview 4.1.5-6.el7, rh-ror42-rubygem-actionpack 4.2.6-3.el7, rh-ror42-rubygem-actionview 4.2.6-3.el7, ruby193-rubygem-actionpack 3.2.8-20.el7, rh-ror42-rubygem-activerecord 4.2.6-3.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) ror40-rubygem-actionpack 4.0.2-8.el7, rh-ror41-rubygem-actionview 4.1.5-6.el7, rh-ror42-rubygem-actionpack 4.2.6-3.el7, rh-ror42-rubygem-actionview 4.2.6-3.el7, ruby193-rubygem-actionpack 3.2.8-20.el7, rh-ror42-rubygem-activerecord 4.2.6-3.el7
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) ror40-rubygem-actionpack 4.0.2-8.el6, rh-ror41-rubygem-actionview 4.1.5-6.el6, ruby193-rubygem-actionpack 3.2.8-20.el6 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) ror40-rubygem-actionpack 4.0.2-8.el7, rh-ror41-rubygem-actionview 4.1.5-6.el7, rh-ror42-rubygem-actionpack 4.2.6-3.el7, rh-ror42-rubygem-actionview 4.2.6-3.el7, ruby193-rubygem-actionpack 3.2.8-20.el7, rh-ror42-rubygem-activerecord 4.2.6-3.el7
    fixed: vendor fix RHSA-2016:1856

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.44% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems actionview
>=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

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.