{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-1274","id":"CVE-2022-1274","title":"HTML Injection in Keycloak Admin REST API","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.","descriptionLong":"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.","published":"2023-03-29T00:00:00.000Z","updated":"2026-10-28T02:30:59.000567016Z","reserved":"2022-04-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["keycloak"],"affectedProducts":[{"vendor":"n/a","product":"keycloak","defaultStatus":null,"versions":[{"version":"unknown","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<20.0.5"],"fixed":["20.0.5"],"advisory":"GHSA-m4fv-gm5m-4725"}],"cwes":["CWE-80","CWE-79"],"aliases":["GHSA-m4fv-gm5m-4725"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2073157","tags":["x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-m4fv-gm5m-4725","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://herolab.usd.de/security-advisories/usd-2021-0033/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1274.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1274","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak/pull/16764","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9","tags":["web"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]},{"url":"https://herolab.usd.de/security-advisories/usd-2021-0033","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00698,"epssPercentile":0.53875,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-1274","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1274","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-1274","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m4fv-gm5m-4725","ok":true,"note":"GHSA-m4fv-gm5m-4725"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-1274","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}