{"id":"CVE-2021-25313","published":"2021-03-05T08:35:19Z","modified":"2024-09-17T01:22:12Z","title":"Rancher: XSS on /v3/cluster/","vendor":"SUSE","product":"Rancher","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01498,"percentile":0.74859,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1181852","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rancher/rancher/issues/31583","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.5.6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":14.97},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"suse","affectedVersions":[{"vendor":"SUSE","product":"Rancher","versions":[">= Rancher, < 2.5.6"]}],"affected":[{"ecosystem":"Go","package":"github.com/rancher/rancher","vulnerableRanges":[">=2.5.0, <2.5.6",">=2.4.0, <2.4.14","<2.3.11"],"patched":["2.5.6","2.4.14","2.3.11"],"from":["GHSA-6m8r-jh89-rq7h"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) vulnerability in the /v3/cluster/ endpoint of SUSE Rancher, where input is not properly neutralized during web page generation. An attacker who lures a user into clicking a crafted link, with no authentication required, can get JavaScript to execute in the victim's browser, and this affects Rancher versions prior to 2.5.6.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:53Z"},"euvd":{"id":"EUVD-2022-2822","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-12274","published":"2019-06-06","fixed":"2.2.4+incompatible","kev":false},{"cve":"CVE-2019-12303","published":"2019-06-06","fixed":"2.2.4+incompatible","kev":false},{"cve":"CVE-2019-13209","published":"2019-09-04","fixed":"2.2.5","kev":false,"link":{"from":"CVE-2019-13209","to":"CVE-2021-25313","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.2.5","toFixed":"2.3.11","daysApart":548}]}},{"cve":"CVE-2021-25313","published":"2021-03-05","fixed":"2.5.6","kev":false},{"cve":"CVE-2021-25318","published":"2021-07-15","fixed":"2.5.9","kev":false,"link":{"from":"CVE-2021-25313","to":"CVE-2021-25318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.4.14","toFixed":"2.4.16","daysApart":132}]}},{"cve":"CVE-2021-25320","published":"2021-07-15","fixed":"2.5.9","kev":false,"link":{"from":"CVE-2021-25313","to":"CVE-2021-25320","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.4.14","toFixed":"2.4.16","daysApart":132}]}},{"cve":"CVE-2021-31999","published":"2021-07-15","fixed":"2.5.9","kev":false,"link":{"from":"CVE-2021-25313","to":"CVE-2021-31999","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/rancher/rancher","fromFixed":"2.4.14","toFixed":"2.4.16","daysApart":132}]}}],"package":"Go:github.com/rancher/rancher"}}