VDB
Sign up
MEDIUM5.4

GHSA-458h-wv48-fq75

Keycloak vulnerable to cross-site scripting via the state parameter

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-parent
Introduced in: 0

No fixed version published yet for org.keycloak:keycloak-parent (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.keycloak:keycloak-parent
Introduced in: 4.0.0.Beta1

No fixed version published yet for org.keycloak:keycloak-parent (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.keycloak:keycloak-parent

No fixed version published yet for org.keycloak:keycloak-parent (maven). Pin to a known-safe version or switch to an alternative.

References