Every CVE Search/ Get API key

CVE-2016-6316

actionview Cross-site Scripting vulnerability

6.1 MediumFix available

CVE-2016-6316 is a medium vulnerability (CVSS 6.1) in Rubyonrails Rails, published August 25, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.44%, the 88th percentile. Fixed in actionview 3.2.22.3.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

3.44%Up 1.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.1

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.

Record
CVE-2016-6316
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-6316
Updated
2026-11-02
EUVDEUVD-2017-0281 No score

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.

Record
EUVD-2017-0281
Updated
2026-11-03
GitHub AdvisoriesGHSA-pc3m-v286-2jwj 6.1

actionview Cross-site Scripting vulnerability

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.

Record
GHSA-pc3m-v286-2jwj
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

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.

Record
CVE-2016-6316
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2016-6316 6.1

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.

Record
DEBIAN-CVE-2016-6316
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 6 moreShow less
OSVGHSA-pc3m-v286-2jwj 6.1

actionview Cross-site Scripting vulnerability

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.

Record
GHSA-pc3m-v286-2jwj
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVRHSA-2016:1855 6.1

Red Hat Security Advisory: rh-ror42 security update

Record
RHSA-2016:1855
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:1856 6.1

Red Hat Security Advisory: rh-ror41-rubygem-actionview security update

Record
RHSA-2016:1856
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:1857 6.1

Red Hat Security Advisory: ror40-rubygem-actionpack security update

Record
RHSA-2016:1857
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:1858 6.1

Red Hat Security Advisory: ruby193-rubygem-actionpack security update

Record
RHSA-2016:1858
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVSUSE-SU-2017:2716-1 No score

Security update for the Ruby on Rails stack

This update brings version 4.2.9 of the Ruby on Rails stack to provide the latest fixes and improvements from upstream.

The following security issues have been fixed by upstream:

rubygem-actionpack-4_2

  • CVE-2016-2098: Action Pack in Ruby on Rails allowed remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method (bsc#968849).

rubygem-activerecord-4_2

  • CVE-2016-6317: Action Record did not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allowed remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request (bsc#993313).

rubygem-actionview-4_2

  • CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View might have allowed remote attackers to inject arbitrary web script or HTML via text declared as 'HTML safe' and used as attribute values in tag handlers (bsc#993302).

Additionally, the following packages have been updated to version 4.2.9:

  • rubygem-rails-4_2
  • rubygem-railties-4_2
  • rubygem-activesupport-4_2
  • rubygem-activerecord-4_2
  • rubygem-activejob-4_2
  • rubygem-actionview-4_2
  • rubygem-actionpack-4_2
  • rubygem-actionmailer-4_2
Record
SUSE-SU-2017:2716-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
actionview
RubyGems
3.0.0 to 3.2.22.2
3.2.22.3
actionview
RubyGems
4.0.0 to 4.2.7
4.2.7.1
actionview
RubyGems
5.0.0 to 5.0.0
5.0.0.1
rails
Debian:12
before 2:4.2.7.1-1
2:4.2.7.1-1
rails
Debian:13
before 2:4.2.7.1-1
2:4.2.7.1-1
rails
Debian:14
before 2:4.2.7.1-1
2:4.2.7.1-1
ruby-actionpack-3.2
Debian:7
before 3.2.6-6+deb7u3, plus listed versions
3.2.6-63.2.6-6+deb7u13.2.6-6+deb7u2
3.2.6-6+deb7u3
rails
Debian:8
before 2:4.1.8-1+deb8u4, plus listed versions
2:4.1.8-12:4.1.8-1+deb8u12:4.1.8-1+deb8u22:4.1.8-1+deb8u3
2:4.1.8-1+deb8u4
actionview
RubyGems
3.0.0 up to 3.2.22.3
3.2.22.3
actionview
RubyGems
4.0.0 up to 4.2.7.1, plus listed versions
4.1.04.1.0.beta14.1.0.beta24.1.0.rc14.1.0.rc2
Show 45 moreShow less
4.1.14.1.104.1.10.rc14.1.10.rc24.1.10.rc34.1.10.rc44.1.114.1.124.1.12.rc14.1.134.1.13.rc14.1.144.1.14.14.1.14.24.1.14.rc14.1.14.rc24.1.154.1.15.rc14.1.164.1.16.rc14.1.24.1.2.rc14.1.2.rc24.1.2.rc34.1.34.1.44.1.54.1.64.1.6.rc14.1.6.rc24.1.74.1.7.14.1.84.1.94.1.9.rc14.2.04.2.0.beta14.2.0.beta24.2.0.beta34.2.0.beta44.2.0.rc14.2.0.rc24.2.0.rc34.2.14.2.1.rc1
4.2.7.1
Show 59 moreShow less
Affected packages
PackageAffectedFixed
actionview
RubyGems
5.0.0 up to 5.0.0.1
5.0.0.1
rh-ror42-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:4.2.6-3.el7
1:4.2.6-3.el7
rh-ror42-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.2.6-3.el7
1:4.2.6-3.el7
rh-ror42-rubygem-actionview
Red Hat:rhel_software_collections:2::el7
before 0:4.2.6-3.el7
0:4.2.6-3.el7
rh-ror42-rubygem-actionview-doc
Red Hat:rhel_software_collections:2::el7
before 0:4.2.6-3.el7
0:4.2.6-3.el7
rh-ror42-rubygem-activerecord
Red Hat:rhel_software_collections:2::el7
before 1:4.2.6-3.el7
1:4.2.6-3.el7
rh-ror42-rubygem-activerecord-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.2.6-3.el7
1:4.2.6-3.el7
rh-ror41-rubygem-actionview
Red Hat:rhel_software_collections:2::el6
before 0:4.1.5-6.el6
0:4.1.5-6.el6
rh-ror41-rubygem-actionview-doc
Red Hat:rhel_software_collections:2::el6
before 0:4.1.5-6.el6
0:4.1.5-6.el6
rh-ror41-rubygem-actionview
Red Hat:rhel_software_collections:2::el7
before 0:4.1.5-6.el7
0:4.1.5-6.el7
rh-ror41-rubygem-actionview-doc
Red Hat:rhel_software_collections:2::el7
before 0:4.1.5-6.el7
0:4.1.5-6.el7
ror40-rubygem-actionpack
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-8.el6
1:4.0.2-8.el6
ror40-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-8.el6
1:4.0.2-8.el6
ror40-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-8.el7
1:4.0.2-8.el7
ror40-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-8.el7
1:4.0.2-8.el7
ruby193-rubygem-actionpack
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-20.el6
1:3.2.8-20.el6
ruby193-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-20.el6
1:3.2.8-20.el6
ruby193-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-20.el7
1:3.2.8-20.el7
ruby193-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-20.el7
1:3.2.8-20.el7
rubygem-actionmailer-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:OpenStack Cloud 6
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:OpenStack Cloud 7
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:Enterprise Storage 3
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:Enterprise Storage 3
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:Enterprise Storage 3
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:Enterprise Storage 3
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:Enterprise Storage 3
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:Enterprise Storage 3
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:Enterprise Storage 4
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:Enterprise Storage 4
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:Enterprise Storage 4
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:Enterprise Storage 4
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:Enterprise Storage 4
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:Enterprise Storage 4
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 34 moreShow less
This page doesn't list everything

Left out here: 17 versions. The JSON record has them.

MoveEnter Open