CVE-2021-42357
publishedDOM based XSS Vulnerability in Apache Knox
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache KnoxApache Knox 1.x to < 1.6.1 · 0.12.0 to < Apache Knox 0.x* | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Knox | Apache Knox 1.x to < 1.6.1 (affected · custom)0.12.0 to < Apache Knox 0.x* (affected · custom) | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- [oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox http://www.openwall.com/lists/oss-security/2022/01/17/2
- https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j
Provider assertions
2apache · cna
DOM based XSS Vulnerability in Apache Knox
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0b31beaefad9a3dd1c57719e67b2e27116f6d12ae88d153be4cdc6cb4abc33bd
- Ingested
- 23 Sep 2026, 07:56:21 UTC
- Source record
- Official CVE record