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

CVE-2020-5267: Cross-site Scripting

March 19, 2020 (updated October 5, 2020)

In ActionView there is a possible XSS vulnerability in ActionView’s JavaScript literal escape helpers. Views that use the j or escape_javascript methods may be susceptible to XSS.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2020-5267 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.2, all versions starting from 6.0.0 before 6.0.2.2

Fixed versions

  • 5.2.4.2
  • 6.0.2.2

Solution

Upgrade to versions 5.2.4.2, 6.0.2.2 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Source file

gem/actionview/CVE-2020-5267.yml

Spotted a mistake? Edit the file on GitLab.

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

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