{"id":"CVE-2021-42357","aliases":["EUVD-2022-0708","GHSA-vv38-4xcj-q4rw"],"status":"published","title":"DOM based XSS Vulnerability in Apache Knox","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02664,"percentile":0.85916,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-01-17T19:25:09Z","modified":"2026-10-24T10:30:56Z","fixes":[{"ecosystem":"Maven","package":"org.apache.knox:gateway-service-knoxsso","fixed_in":["1.6.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.knox:gateway-service-knoxsso","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.knox:gateway-service-knoxsso","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"versions":["0.10.0","0.11.0","0.12.0","0.13.0","0.14.0","0.6.0","0.7.0","0.8.0","0.9.0","0.9.1","1.0.0","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.6.0"]}],"products":[{"vendor":"apache","product":"knox"},{"vendor":"apache software foundation","product":"apache knox"}],"references":[{"url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42357","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vv38-4xcj-q4rw"}],"sources":{"cve":[{"id":"CVE-2021-42357","title":"DOM based XSS Vulnerability in Apache Knox","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-17T19:25:09Z","modified":"2024-08-04T03:30:38.347Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:58.359368Z"}],"euvd":[{"id":"EUVD-2022-0708","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-17T19:25:09Z","modified":"2024-08-04T03:30:38Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-vv38-4xcj-q4rw","title":"Cross-site Scripting in Apache Knox SSO","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-21T23:52:00Z","modified":"2023-02-03T05:04:52Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:41.967989Z"}],"nvd":[{"id":"CVE-2021-42357","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-17T20:15:07.697Z","modified":"2026-06-17T04:09:40.963Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-42357","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-17T20:15:07.697Z","modified":"2026-10-24T10:30:56.397712354Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"GHSA-vv38-4xcj-q4rw","title":"Cross-site Scripting in Apache Knox SSO","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","status":"published","published":"2022-01-21T23:52:00Z","modified":"2023-11-08T04:07:05.83668Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
