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

CVE-2020-15169: Cross-site Scripting

September 11, 2020 (updated December 8, 2020)

In Action View there is a potential Cross-Site Scripting (XSS) vulnerability in Action View’s translation helpers. Views that allow the user to control the default (not found) value of the t and translate helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-15169

Code Behaviors & Features

Detect and mitigate CVE-2020-15169 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.4.4, all versions starting from 6.0.0.0 before 6.0.3.3

Fixed versions

  • 5.2.4.4
  • 6.0.3.3

Solution

Upgrade to versions 5.2.4.4, 6.0.3.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/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-2020-15169.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:11 +0000.