CVE-2022-1274
JSON

5.4medium

HTML Injection in Keycloak Admin REST API

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.69% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-m4fv-gm5m-4725

Description

A flaw was found in Keycloak in the execute-actions-email endpoint. This issue allows arbitrary HTML to be injected into emails sent to Keycloak users and can be misused to perform phishing or other attacks against users.

Affected

Product or packageVersionsReported by
keycloakunknownCVE List
org.keycloak:keycloak-services (Maven)before 20.0.5GitHub Advisory Database
redhat keycloakbefore 20.0.5NVD
redhat single_sign-onfrom 7.6 before 7.6.2NVD
redhat openshift_container_platform4.9, 4.10NVD

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

What each source says

CVE List

A flaw was found in Keycloak in the execute-actions-email endpoint. This issue allows arbitrary HTML to be injected into emails sent to Keycloak users and can be misused to perform phishing or other attacks against users.

GitHub Advisory Database

The execute-actions-email endpoint of the Keycloak Admin REST API allows a malicious actor to send emails containing phishing links to Keycloak users.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-1274 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-m4fv-gm5m-4725 changed 2026-07-16CC-BY-4.0
NVDCVE-2022-1274 changed 2026-06-17Public domain