# CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-17 · Modified: 2024-08-04
- Aliases: GHSA-vv38-4xcj-q4rw
- Record: https://cvemate.com/vulnerability/CVE-2021-42357 · JSON: https://cvemate.com/vulnerability/CVE-2021-42357/json

## 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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 2.664%, percentile 86.219%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache knox: ≥ Apache Knox 1.x, \< 1.6.1 \| ≥ 0.12.0, \< Apache Knox 0.x\*
- apache knox: \< 1.6.1
- org.apache.knox gateway-service-knoxsso (Maven): \< 1.6.1

## References

- <https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j>
- <http://www.openwall.com/lists/oss-security/2022/01/17/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42357>

---

Data as of 2026-12-05T07:00:28.848Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
