{"id":"GHSA-6m8r-jh89-rq7h","revision":"25af6c52ef9f4e53b385162a2089064b","records":[{"revision":"25af6c52ef9f4e53b385162a2089064b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-6m8r-jh89-rq7h","aliases":["CVE-2021-25313"],"title":"Rancher Cross-site Scripting Vulnerability","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.","state":0,"publishedAt":"2022-05-24T17:43:45+00:00","modifiedAt":"2026-09-10T03:49:20.4519176+00:00","affected":[{"ecosystem":"Go","name":"github.com/rancher/rancher","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.5.0"},{"kind":"fixed","version":"2.5.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/rancher/rancher","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.4.0"},{"kind":"fixed","version":"2.4.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/rancher/rancher","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.3.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-25313","https://github.com/rancher/rancher/issues/31583","https://bugzilla.suse.com/show_bug.cgi?id=1181852","https://github.com/rancher/rancher/releases/tag/v2.3.11","https://github.com/rancher/rancher/releases/tag/v2.4.14","https://github.com/rancher/rancher/releases/tag/v2.5.6"],"sourceUrl":"https://github.com/advisories/GHSA-6m8r-jh89-rq7h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6m8r-jh89-rq7h","identifiers":["GHSA-6m8r-jh89-rq7h","CVE-2021-25313"]},"retained":false,"historicalAffected":[]}],"coverage":[]}