Security advisory
A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser. While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5962
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:36 UTC · Revision 1
Source evidence
A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser. While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.
osv:CVE-2024-5962
Complete source record
{
"id": "aa9e5aed21e555c116239a540fcb508543fd66bf47a181540e68866859d4c8b6",
"url": "https://osv.dev/vulnerability/CVE-2024-5962",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-5962",
"summary": "A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser. While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.",
"evidence": "osv:CVE-2024-5962",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-5962",
"aliases": [
"CVE-2024-5962"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wso2/product-apim",
"type": "GIT",
"events": [
{
"introduced": "572610e8e6564a647044bdb454eda658e1253352"
},
{
"last_affected": "6e7a9db24a575f1f4a5bc4f4cbb41687c308c466"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0-NA"
},
{
"last_affected": "4.2.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.3.0-NA"
},
{
"last_affected": "4.3.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.2.0-NA",
"4.3.0-NA",
"v4.3.0-rc2",
"v4.3.0",
"v4.3.0-rc",
"v4.3.0-beta",
"v4.3.0-alpha2",
"v4.3.0-alpha",
"v4.3.0-m2",
"v4.2.0-rc2",
"v4.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5962.json"
}
}
],
"modified": "2026-10-24T10:30:42.024172153Z",
"provider": "osv",
"references": [
"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3443/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:wso2:identity_server:6.0.0:-:*:*:*:*:*:*",
"cpe:2.3:a:wso2:identity_server:6.1.0:-:*:*:*:*:*:*"
],
"vendor_product": "wso2:identity_server",
"extracted_events": [
{
"range": [
{
"introduced": "6.0.0-NA"
},
{
"last_affected": "6.0.0-NA"
},
{
"introduced": "6.1.0-NA"
},
{
"last_affected": "6.1.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2024-5962",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435254,
"published_at": "2025-05-22T20:15:27.203+00:00"
}