CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox
Vulnerability summary
CVE-2021-42357 is a medium (CVSS 6.1) vulnerability in apache software foundation apache knox. EPSS estimates a 2.66% chance of exploitation in the next 30 days, higher than 86.2% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 17-01-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
2.66%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
Increase +0.09 pp
From 2.58% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- knox< 1.6.1
Apache software foundation1 product
- apache knox≥ Apache Knox 1.x, < 1.6.1 | ≥ 0.12.0, < Apache Knox 0.x*
Org.apache.knox1 product
- gateway-service-knoxsso< 1.6.1
3 vendors · 3 products
References
3 links- lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7jX Refsource MISCWEBMailing ListVendor Advisory
- www.openwall.com/lists/oss-security/2022/01/17/2Mailing ListX Refsource MLISTWEBThird Party Advisory