MEDIUM5.4
GHSA-v38p-mqq3-m6v5
Keycloak Reflected XSS
Quick fix
GHSA-v38p-mqq3-m6v5 — org.keycloak:keycloak-parent: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.4.0</version> for org.keycloak:keycloak-parentDetails
It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-parent
Introduced in:
0Fixed in: 3.4.0Fix
# pom.xml: bump <version>3.4.0</version> for org.keycloak:keycloak-parentReferences
- https://nvd.nist.gov/vuln/detail/CVE-2017-12158[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:2904[WEB]
- https://access.redhat.com/errata/RHSA-2017:2905[WEB]
- https://access.redhat.com/errata/RHSA-2017:2906[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1489161[WEB]
- https://web.archive.org/web/20210124114020/http://www.securityfocus.com/bid/101618[WEB]