# CVE-2021-25313: Rancher: XSS on /v3/cluster/

- Severity: High 7.1 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-11-30)
- Published: 2021-03-05T08:35:19.239Z
- Modified: 2026-09-10T03:49:20.451Z
- Also known as: GHSA-6m8r-jh89-rq7h
- Weaknesses: CWE-79
- Assigned by: suse

## Description

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.

(As written by CVE List.)

## Affected

- SUSE Rancher: from Rancher before 2.5.6; before 2.5.6
- github.com/rancher/rancher (Go): from 2.5.0 before 2.5.6; from 2.4.0 before 2.4.14; before 2.3.11

## Every score

- suse: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## 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)

## Sources

- CVE List: [CVE-2021-25313](https://www.cve.org/CVERecord?id=CVE-2021-25313), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-6m8r-jh89-rq7h](https://github.com/advisories/GHSA-6m8r-jh89-rq7h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-25313](https://nvd.nist.gov/vuln/detail/CVE-2021-25313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25313 · Whole record: https://cve.day/CVE-2021-25313.json · Rebuilt by cve.day 2026-11-25T22:58:00.152Z
