{"id":"CVE-2022-1274","published":"2023-03-29T00:00:00Z","modified":"2024-08-02T23:55:24Z","title":"A flaw was found in Keycloak in the execute-actions-email endpoint","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00673,"percentile":0.4717,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2073157","tags":[]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-m4fv-gm5m-4725","tags":[]},{"url":"https://herolab.usd.de/security-advisories/usd-2021-0033/","tags":[]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":9.43}]},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["unknown"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<20.0.5"],"patched":["20.0.5"],"from":["GHSA-m4fv-gm5m-4725"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak's execute-actions-email endpoint allows arbitrary HTML to be injected into emails sent to Keycloak users. An attacker who can reach and interact with that endpoint could use the injected content to phish users or mount other attacks against them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:04Z"},"euvd":{"id":"EUVD-2023-1054","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-4-cve-2017-2582","parents":[{"from":"CVE-2020-27826","to":"CVE-2022-1274","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java","services/src/main/java/org/keycloak/services/resources/admin/UserResource.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9"],"basis":"shared function","functions":["Messages"]}]}],"children":[{"from":"CVE-2022-1274","to":"CVE-2023-3597","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java"],"commits":["https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9","https://github.com/keycloak/keycloak/commit/aa634aee882892960a526e49982806e103c8a432"],"basis":"shared function","functions":["Messages"]}]},{"from":"CVE-2022-1274","to":"CVE-2026-9791","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java"],"commits":["https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9","https://github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b","https://github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df"],"basis":"shared function","functions":["Messages"]}]}]}}