{"id":"CVE-2021-25313","aliases":["CVE-2021-25313","GHSA-6m8r-jh89-rq7h"],"related":[],"kind":"vulnerability","state":"published","title":"Rancher: XSS on /v3/cluster/","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de Neutralización Inapropiada de la Entrada Durante la Generación de Páginas Web (\"Cross-site Scripting\") en Rancher, permite a atacantes remotos ejecutar JavaScript por medio de enlaces maliciosos.&#xa0;Este problema afecta a: SUSE Rancher Rancher versiones anteriores a 2.5.6","source":"nvd"}],"published":"2021-03-05T08:35:19.239Z","modified":"2026-09-10T03:49:20.451Z","severity":{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"Rancher","fixed":"2.5.6","status":"affected"}],"vendor":"SUSE","product":"Rancher","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.5.0","status":"affected","fixed":"2.5.6"}],"ecosystem":"Go","package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.4.0","status":"affected","fixed":"2.4.14"}],"ecosystem":"Go","package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.11"}],"ecosystem":"Go","package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.5.6"}],"vendor":"suse","product":"rancher","cpe":"cpe:2.3:a:suse:rancher:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1181852","tags":["issue-tracking","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rancher/rancher/issues/31583","tags":["issue-tracking","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.5.6","tags":["release-notes","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25313","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.3.11","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.4.14","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"suse","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25313","url":"https://www.cve.org/CVERecord?id=CVE-2021-25313","licence":"CVE Terms of Use","modified":"2024-09-17T01:22:12.189Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6m8r-jh89-rq7h","url":"https://github.com/advisories/GHSA-6m8r-jh89-rq7h","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:20.451Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25313","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25313","licence":"Public domain","modified":"2026-06-17T03:41:48.610Z"}],"updatedAt":"2026-11-25T22:58:00.152Z","epss":{"score":0.01516,"percentile":0.74861,"date":"2026-11-30T12:00:22.000Z"}}