Skip to content
OpenAdvisories
Medium · 6.1 CVE-2016-6316 EUVD-2017-0281GHSA-pc3m-v286-2jwj

actionview Cross-site Scripting vulnerability

Published Sep 7, 2016 · Updated Aug 6, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:4.2.7.1-1 —
Debian 13 rails 2:4.2.7.1-1 —
Debian 12 rails 2:4.2.7.1-1 —
Debian 8 rails 2:4.1.8-1+deb8u4 DSA-3651-1
Debian 7 ruby-actionpack-3.2 3.2.6-6+deb7u3 DLA-604-1
ReleasePackageFixed inAdvisory
RHEL 2 rh-ror41-rubygem-actionview +1 4.1.5-6.el6 RHSA-2016:1856
RHEL 2 rh-ror42-rubygem-actionpack +3 1:4.2.6-3.el7 RHSA-2016:1855
RHEL 2 rh-ror42-rubygem-actionview +1 4.2.6-3.el7 RHSA-2016:1855
RHEL 2 ror40-rubygem-actionpack +1 1:4.0.2-8.el6 RHSA-2016:1857
RHEL 2 ruby193-rubygem-actionpack +1 1:3.2.8-20.el6 RHSA-2016:1858
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 7 rubygem-actionpack-4_2 +1 4.2.9-7.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 7 rubygem-actionview-4_2 4.2.9-9.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 7 rubygem-activemodel-4_2 +1 4.2.9-6.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 7 rubygem-rails-4_2 +3 4.2.9-3.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 7 rubygem-rails-html-sanitizer 1.0.3-8.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 6 rubygem-actionpack-4_2 +1 4.2.9-7.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 6 rubygem-actionview-4_2 4.2.9-9.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 6 rubygem-activemodel-4_2 +1 4.2.9-6.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 6 rubygem-rails-4_2 +3 4.2.9-3.3.1 SUSE-SU-2017:2716-1
SUSE OpenStack Cloud 6 rubygem-rails-html-sanitizer 1.0.3-8.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 4 rubygem-actionpack-4_2 +1 4.2.9-7.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 4 rubygem-actionview-4_2 4.2.9-9.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 4 rubygem-activemodel-4_2 +1 4.2.9-6.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 4 rubygem-rails-4_2 +3 4.2.9-3.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 4 rubygem-rails-html-sanitizer 1.0.3-8.3.1 SUSE-SU-2017:2716-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Enterprise Storage 3 rubygem-actionpack-4_2 +1 4.2.9-7.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 3 rubygem-actionview-4_2 4.2.9-9.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 3 rubygem-activemodel-4_2 +1 4.2.9-6.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 3 rubygem-rails-4_2 +3 4.2.9-3.3.1 SUSE-SU-2017:2716-1
SUSE Enterprise Storage 3 rubygem-rails-html-sanitizer 1.0.3-8.3.1 SUSE-SU-2017:2716-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionview >= 3.0.0, < 3.2.22.3 3.2.22.3 GHSA-pc3m-v286-2jwj
RubyGems actionview >= 4.0.0, < 4.2.7.1 4.2.7.1 GHSA-pc3m-v286-2jwj
RubyGems actionview >= 5.0.0, < 5.0.0.1 5.0.0.1 GHSA-pc3m-v286-2jwj

Advisories 7

References