Security mailing lists by PureSourceCode

CVE-2018-14655

MEDIUM 5.4CVSS 3.0

Keycloak vulnerable to cross-site scripting via the state parameter

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.

Published
13 Nov 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-458h-wv48-fq75
Sources
NVDJSONOSV GHSA-458h-wv48-fq75JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD secalert@redhat.com (Secondary) CVSS 3.0 MEDIUM 4.6 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:3.4.3:*:*:*:*:*:*:*
= 3.4.3
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:4.0.0:beta2:*:*:*:*:*:*
= 4.0.0
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:4.3.0:*:*:*:*:*:*:*
= 4.3.0
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:7.2:*:*:*:*:*:*:*
= 7.2
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
(no version)
OSV Maven org.keycloak:keycloak-parent <= 3.4.3.Final
OSV Maven org.keycloak:keycloak-parent >= 4.0.0.Beta1, <= 4.0.0.Beta2
OSV Maven org.keycloak:keycloak-parent = 4.3.0.Final

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Nov 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.