{"schemaVersion":3,"id":"CVE-2021-25313","aliases":["GHSA-6m8r-jh89-rq7h","CGA-4c4c-2pj3-h9jw","CGA-668c-xxx4-j9g7","CGA-6jmc-fvhc-p9h2","CGA-8q3w-hh5g-pmfg","CGA-mpwg-m2qv-5m75","CGA-rx8j-35mm-q249","CGA-wm38-c5p4-rf67","CGA-wm8m-3vfj-jg72"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-05T08:35:19.239Z","modified":"2024-09-17T01:22:12.189Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01498,"percentile":0.73805,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01498},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01498,"percentile":0.73805}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01498,"percentile":0.73805}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"harvester","name":"harvester","label":"harvester","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips","name":"harvester-fips","label":"harvester-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips-webhook","name":"harvester-fips-webhook","label":"harvester-fips-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-webhook","name":"harvester-webhook","label":"harvester-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/rancher","product":"rancher","name":"github.com/rancher/rancher","label":"rancher","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/rancher/rancher","purlType":"golang","versions":[{"text":"≥ 2.5.0, < 2.5.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.14","noFixRecorded":false,"fixedIn":null},{"text":"< 2.3.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.5.0, < 2.5.6 | ≥ 2.4.0, < 2.4.14 | < 2.3.11","eol":null,"hubHref":null},{"vendor":"suse","product":"rancher","name":"rancher","label":"rancher","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Rancher, < 2.5.6","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Rancher, < 2.5.6 | < 2.5.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rancher","label":"Rancher","category":"server-app"}},"hubHref":"/vendor/suse/rancher"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1181852","label":"bugzilla.suse.com/show_bug.cgi?id=1181852","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","WEB","REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/rancher/rancher/issues/31583","label":"github.com/rancher/rancher/issues/31583","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.5.6","label":"github.com/rancher/rancher/releases/tag/v2.5.6","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25313","label":"nvd.nist.gov/vuln/detail/CVE-2021-25313","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.3.11","label":"github.com/rancher/rancher/releases/tag/v2.3.11","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.4.14","label":"github.com/rancher/rancher/releases/tag/v2.4.14","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-GJJG-G49G-J728"]},"timeline":[{"kind":"published","date":"2021-03-05T08:35:19.239Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:22:12.189Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:40:37.674Z","stale":false,"partial":false}}