Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-1274 — keycloak

🟡 CVSS 5.4 — Medium ✅ No Known Exploit CWE-80 NVD
5.4
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Weakness class

CVE-2022-1274 is classified as CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream…

Affected software

CVE-2022-1274 is recorded against 4 packages.

  • keycloak (fixed in 20.0.5)
  • openshift-container-platform
  • org.keycloak:keycloak-services (fixed in 20.0.5)
  • single-sign-on (from 7.6 up to 7.6.2)

Timeline and source

Published on 29 March 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

bugzilla.redhat.com
github.com
herolab.usd.de
bugzilla.redhat.com
github.com
herolab.usd.de

Other advisories for this package

keycloak has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) in other software:

Details

Severity MEDIUM
CVSS Score 5.4
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CWE CWE-80
Public Exploit ✅ No
Source NVD
Published 2023-03-29
Updated 2026-08-20
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
keycloak 20.0.5
openshift-container-platform
org.keycloak:keycloak-services 20.0.5
single-sign-on 7.6 7.6.2

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in keycloak

CVE-2022-1274 is rated CVSS 5.4 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022