{"id":"GHSA-6m8r-jh89-rq7h","summary":"Rancher Cross-site Scripting Vulnerability","details":"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.","aliases":["CVE-2021-25313"],"modified":"2026-09-10T03:49:20.451917571Z","published":"2022-05-24T17:43:45Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-07-10T23:48:08Z","nvd_published_at":"2021-03-05T09:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25313"},{"type":"WEB","url":"https://github.com/rancher/rancher/issues/31583"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=1181852"},{"type":"WEB","url":"https://github.com/rancher/rancher/releases/tag/v2.3.11"},{"type":"WEB","url":"https://github.com/rancher/rancher/releases/tag/v2.4.14"},{"type":"WEB","url":"https://github.com/rancher/rancher/releases/tag/v2.5.6"}],"affected":[{"package":{"name":"github.com/rancher/rancher","ecosystem":"Go","purl":"pkg:golang/github.com/rancher/rancher"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6m8r-jh89-rq7h/GHSA-6m8r-jh89-rq7h.json"}},{"package":{"name":"github.com/rancher/rancher","ecosystem":"Go","purl":"pkg:golang/github.com/rancher/rancher"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.4.0"},{"fixed":"2.4.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6m8r-jh89-rq7h/GHSA-6m8r-jh89-rq7h.json"}},{"package":{"name":"github.com/rancher/rancher","ecosystem":"Go","purl":"pkg:golang/github.com/rancher/rancher"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6m8r-jh89-rq7h/GHSA-6m8r-jh89-rq7h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}