Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-core
  4. ›
  5. CVE-2022-1274

CVE-2022-1274: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

March 29, 2023 (updated December 22, 2023)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2073157
  • github.com/keycloak/keycloak/security/advisories/GHSA-m4fv-gm5m-4725
  • nvd.nist.gov/vuln/detail/CVE-2022-1274

Code Behaviors & Features

Detect and mitigate CVE-2022-1274 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 20.0.5

Fixed versions

  • 20.0.5

Solution

Upgrade to version 20.0.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.keycloak/keycloak-core/CVE-2022-1274.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:02 +0000.