Live threats

All CVEs / Redhat

CVE-2018-14655Redhat Keycloak

Medium 5.4

Priority
33
CVSS 3.0
5.4
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
Nov 13, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using 'response_mode=form_post' it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-parent ≤ 3.4.3.Final no fixed version —
Maven org.keycloak:keycloak-parent ≥ 4.0.0.Beta1 ≤ 4.0.0.Beta2 no fixed version —
Maven org.keycloak:keycloak-parent 4.3.0.Final no fixed version —

Per OSV / GitHub Advisories (GHSA-458h-wv48-fq75). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak3.4.3
redhatkeycloak4.0.0
redhatkeycloak4.3.0
redhatsingle_sign-on7.2
redhatsingle_sign-onall

Official sources

References

Links published by the sources. Open them with care.