CVE-2022-1274: XSS

Published Apr 7, 2022
·
Updated

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.

Other sources

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 Software

27 affected componentsFixes available
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el7
0:18.0.6-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el8
0:18.0.6-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el9
0:18.0.6-1.redhat_00001.1.el9
maven/org.keycloak:keycloak-services<20.0.5
20.0.5
redhat keycloak<20.0.5
redhat Single Sign-on
All of the following
redhat Single Sign-on>=7.6<7.6.2
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
Any of the following
redhat OpenShift Container Platform=4.9
redhat OpenShift Container Platform=4.10
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.0
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.0
redhat Single Sign-on>=7.6<7.6.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat OpenShift Container Platform=4.9
redhat OpenShift Container Platform=4.10
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.0
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.0

Event History

Apr 7, 2022
Data Sourced
via Red Hat·07:06 PM
DescriptionSeverityAffected Software
Feb 28, 2023
CVE Published
06:57 PM
Mar 1, 2023
Advisory Published
05:58 PM
Mar 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-1274?

CVE-2022-1274 is a vulnerability found in Keycloak that allows arbitrary HTML to be injected into emails sent to Keycloak users, potentially leading to phishing or other attacks.

2

What is the severity of CVE-2022-1274?

The severity of CVE-2022-1274 is high, with a severity value of 7.6.

3

Which software versions are affected by CVE-2022-1274?

Versions 0:18.0.6-1.redhat_00001.1.el7, 0:18.0.6-1.redhat_00001.1.el8, and 0:18.0.6-1.redhat_00001.1.el9 of rh-sso7-keycloak are affected by CVE-2022-1274.

4

How can the CVE-2022-1274 vulnerability be exploited?

The CVE-2022-1274 vulnerability can be exploited by injecting arbitrary HTML into emails sent to Keycloak users, allowing for phishing or other attacks.

5

Where can I find more information about CVE-2022-1274?

You can find more information about CVE-2022-1274 on the Red Hat website at the following links: [Link 1](https://access.redhat.com/errata/RHSA-2023:1043), [Link 2](https://access.redhat.com/errata/RHSA-2023:1044), [Link 3](https://access.redhat.com/errata/RHSA-2023:1045).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203