Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. actionview
  4. ›
  5. CVE-2016-6316

CVE-2016-6316: Possible XSS Vulnerability

September 7, 2016 (updated August 8, 2019)

There is a possible XSS vulnerability in Action View. Text declared as “HTML safe” will not have quotes escaped when used as attribute values in tag helpers.

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate CVE-2016-6316 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0.alpha before 4.2.7.1, all versions starting from 5.0.0.alpha before 5.0.0.1

Fixed versions

  • 4.2.7.1
  • 5.0.0.1

Solution

Upgrade to latest or use workaround; see provided link.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/actionview/CVE-2016-6316.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.