{"id":"CVE-2021-42357","published":"2022-01-17T19:25:09Z","modified":"2024-08-04T03:30:38Z","title":"DOM based XSS Vulnerability in Apache Knox","vendor":"Apache","product":"Apache Knox","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02664,"percentile":0.86082,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/2","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":17.22}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Knox","versions":[">= Apache Knox 1.x, < 1.6.1",">= 0.12.0, < Apache Knox 0.x*"]}],"workarounds":{"items":["1.x users should upgrade to 1.6.1. Unsupported versions of the 0.x line that include this issue are: 0.13.0, 0.14.0. and these should upgrade to 1.6.1 as well. 1.0.0 and 1.1.0 are also Unsupported but affected and should upgrade to 1.6.1."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.knox:gateway-service-knoxsso","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-vv38-4xcj-q4rw"],"provenance":"source"}],"summary":{"text":"A DOM-based cross-site scripting flaw in Apache Knox's SSO component, present in versions prior to 1.6.1, arises from improper URL parsing that mishandles a crafted request parameter. An attacker can use a specially crafted URL to redirect a user to an attacker-controlled page, provided the URL is delivered to the victim outside the normal request flow, such as through an XSS or phishing campaign.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:29Z"},"euvd":{"id":"EUVD-2022-0708","exploited":false,"provenance":"source"}}