Loading...
Skip to main content

CVE-2016-6316

MEDIUM

actionview Cross-site Scripting vulnerability

Published October 24, 2017Updated February 20, 2024Source: osv

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.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actionview to 4.2.7.1 or later
gem install actionview -v 4.2.7.1
Bundler
Update actionview to 5.0.0.1 or later
gem install actionview -v 5.0.0.1
Bundler
Update actionview to 3.2.22.3 or later
gem install actionview -v 3.2.22.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed In
actionview
rubygems
4.1.0, 4.1.0.beta1, 4.1.0.beta2, 4.1.0.rc1 (+63 more)4.2.7.1
actionview
rubygems
5.0.05.0.0.1
actionview
rubygems
All versions3.2.22.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Frequently Asked Questions

What is CVE-2016-6316?
actionview Cross-site Scripting vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
How do I check if my project is affected by CVE-2016-6316?
CVE-2016-6316 affects actionview. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-6316 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.1

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-pc3m-v286-2jwj

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies