CVE-2021-25313
MEDIUM 6.1CVSS 3.1Rancher Cross-site Scripting Vulnerability
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.
- Published
- 5 Mar 2021
- Last modified
- 10 Sep 2026
- Assigned by
- meissner@suse.de
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-6m8r-jh89-rq7h
- Sources
- NVDJSONOSV GHSA-6m8r-jh89-rq7hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | meissner@suse.de (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | suse | ranchercpe:2.3:a:suse:rancher:*:*:*:*:*:*:*:* |
< 2.5.6 | 2.5.6 |
| OSV | Go | github.com/rancher/rancher | >= 2.5.0, < 2.5.6 | 2.5.6 |
| OSV | Go | github.com/rancher/rancher | >= 2.4.0, < 2.4.14 | 2.4.14 |
| OSV | Go | github.com/rancher/rancher | < 2.3.11 | 2.3.11 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1181852 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/rancher/rancher/issues/31583 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/rancher/rancher/releases/tag/v2.5.6 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25313 · ADVISORY
- https://github.com/rancher/rancher/releases/tag/v2.3.11 · WEB
- https://github.com/rancher/rancher/releases/tag/v2.4.14 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)