# CVE-2025-10044: Keycloak: keycloak error_description injection on error pages

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- 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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-09-05T19:59:04.454Z
- Modified: 2026-11-26T20:46:02.638Z
- Also known as: GHSA-27gc-wj6x-9w55
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in Keycloak. Keycloak’s account console and other pages accept arbitrary text in the error_description query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.

(As written by CVE List.)

## Affected

- keycloak: before 26.2.9
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.0.17-1 before *; from 26.2.9-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.0-21 before *; from 26.2-9 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.0-22 before *; from 26.2-9 before *)
- org.keycloak:keycloak-account-ui (Maven): before 26.2.9; from 26.3.0 before 26.3.4
- org.keycloak:keycloak-admin-ui (Maven): before 26.2.9; from 26.3.0 before 26.3.4

## Every score

- redhat: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2025:16399> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:16400> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:19923> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19925> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-10044> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2393551> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/pull/42443>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-10044> (advisory)
- <https://github.com/keycloak/keycloak/pull/42035> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2025-10044](https://www.cve.org/CVERecord?id=CVE-2025-10044), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-27gc-wj6x-9w55](https://github.com/advisories/GHSA-27gc-wj6x-9w55), CC-BY-4.0, modified 2025-10-17
- NVD: [CVE-2025-10044](https://nvd.nist.gov/vuln/detail/CVE-2025-10044), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-10044 · Whole record: https://cve.day/CVE-2025-10044.json · Rebuilt by cve.day 2026-11-26T20:57:21.409Z
