7.6
CWE
79 80
Advisory Published
CVE Published
Advisory Published
CVE Published
Updated

CVE-2022-1274: XSS

First published: Thu Apr 07 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.

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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
Red Hat Single Sign-On
All of
Red Hat Single Sign-On>=7.6<7.6.2
Any of
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
All of
Any of
Red Hat OpenShift Container Platform=4.9
Red Hat OpenShift Container Platform=4.10
Any of
Red Hat 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
Red Hat Single Sign-On>=7.6<7.6.2
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
Red Hat OpenShift Container Platform=4.9
Red Hat 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2022-1274?

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

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203