medium5.4
CVE-2022-1274
HTML Injection in Keycloak Admin REST API
Impact
The `execute-actions-email` endpoint of the Keycloak Admin REST API allows a malicious actor to send emails containing phishing links to Keycloak users.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 20.0.5 | 20.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | before 20.0.5 |
| Redhat | Single Sign-On | All versions from 7.6 before 7.6.2 |
| Redhat | Openshift Container Platform | Versions 4.9, 4.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2073157
- https://github.com/keycloak/keycloak/security/advisories/GHSA-m4fv-gm5m-4725
- https://herolab.usd.de/security-advisories/usd-2021-0033/
- https://github.com/advisories/GHSA-m4fv-gm5m-4725
- https://github.com/keycloak/keycloak/pull/16764
- https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9
- https://nvd.nist.gov/vuln/detail/CVE-2022-1274