# CVE-2024-21637: XSS in Authentik via JavaScript-URI as Redirect URI and form_post Response Mode

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-01-11T05:49:44.123Z
- Modified: 2026-09-10T16:01:09.295Z
- Also known as: BIT-AUTHENTIK-2024-21637, GHSA-rjpr-7w8c-gv3j
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Authentik is an open-source Identity Provider. Authentik is a vulnerable to a reflected Cross-Site Scripting vulnerability via JavaScript-URIs in OpenID Connect flows with `response_mode=form_post`. This relatively user could use the described attacks to perform a privilege escalation. This vulnerability has been patched in versions 2023.10.6 and 2023.8.6.

(As written by CVE List.)

## Affected

- goauthentik authentik: <= 2023.10.5; <= 2023.8.5; from 2023.8.0 before 2023.8.6; from 2023.10.0 before 2023.10.6
- authentik (Bitnami): from 2023.8.0 before 2023.8.6; from 2023.10.0 before 2023.10.6

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-rjpr-7w8c-gv3j> (advisory, mitigation, third-party-advisory)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.6> (fix, patch)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.6> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21637> (web)

## Sources

- CVE List: [CVE-2024-21637](https://www.cve.org/CVERecord?id=CVE-2024-21637), CVE Terms of Use, modified 2025-06-17
- NVD: [CVE-2024-21637](https://nvd.nist.gov/vuln/detail/CVE-2024-21637), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2024-21637](https://osv.dev/vulnerability/BIT-AUTHENTIK-2024-21637), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2024-21637 · Whole record: https://cve.day/CVE-2024-21637.json · Rebuilt by cve.day 2026-11-25T22:58:36.025Z
