CVE-2021-25313Suse Rancher
Medium 6.1 No auth needed
Follow: this CVE · Suse · Suse Rancher We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Mar 5, 2021
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rancher.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/rancher/rancher |
≥ 2.5.0 < 2.5.6 |
2.5.6 |
go get github.com/rancher/rancher@v2.5.6 |
| Go | github.com/rancher/rancher |
≥ 2.4.0 < 2.4.14 |
2.4.14 |
go get github.com/rancher/rancher@v2.4.14 |
| Go | github.com/rancher/rancher |
< 2.3.11 |
2.3.11 |
go get github.com/rancher/rancher@v2.3.11 |
Per OSV / GitHub Advisories (GHSA-6m8r-jh89-rq7h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| suse | rancher | < 2.5.6 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Issue Tracking Vendor Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Release Notes Third Party Advisory