Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-14655
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:22 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-14655
Complete source record
{
"id": "850ecf48b082861705f569c1e4abf075d3cdc5d4cf44f6a158f46f81eaf66667",
"url": "https://osv.dev/vulnerability/CVE-2018-14655",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-14655",
"summary": "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.",
"evidence": "osv:CVE-2018-14655",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-14655",
"aliases": [
"CVE-2018-14655",
"GHSA-458h-wv48-fq75"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/keycloak/keycloak",
"type": "GIT",
"events": [
{
"introduced": "517588ecca8e8749c70c7a28706fc405623617d3"
},
{
"last_affected": "b2269bd74dab4f95cc25c413fb7b06aa2bd678c3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:keycloak:3.4.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.3"
},
{
"last_affected": "3.4.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redhat:keycloak:4.0.0:beta2:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-beta2"
},
{
"last_affected": "4.0.0-beta2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redhat:keycloak:4.3.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"last_affected": "4.3.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.4.3",
"4.0.0-beta2",
"4.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14655.json"
}
}
],
"modified": "2026-10-24T10:31:06.736112463Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:3592",
"https://access.redhat.com/errata/RHSA-2018:3593",
"https://access.redhat.com/errata/RHSA-2018:3595",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:redhat:single_sign-on:7.2:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:single_sign-on",
"extracted_events": [
{
"range": [
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
},
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-14655",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441032,
"published_at": "2018-11-13T19:29:00.307+00:00"
}