Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rancher/rancher
  4. ›
  5. CVE-2021-25313

CVE-2021-25313: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 24, 2022 (updated August 3, 2023)

A Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6.

References

  • bugzilla.suse.com/show_bug.cgi?id=1181852
  • github.com/advisories/GHSA-6m8r-jh89-rq7h
  • github.com/rancher/rancher/issues/31583
  • github.com/rancher/rancher/releases/tag/v2.3.11
  • github.com/rancher/rancher/releases/tag/v2.4.14
  • github.com/rancher/rancher/releases/tag/v2.5.6
  • nvd.nist.gov/vuln/detail/CVE-2021-25313

Code Behaviors & Features

Detect and mitigate CVE-2021-25313 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 2.3.11, all versions starting from 2.4.0 before 2.4.14, all versions starting from 2.5.0 before 2.5.6

Fixed versions

  • 2.4.14
  • 2.5.6
  • 2.3.11

Solution

Upgrade to versions 2.4.14, 2.5.6, 2.3.11 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

go/github.com/rancher/rancher/CVE-2021-25313.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:39 +0000.