Description
The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint.

Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.
Published: 2026-10-21
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: Client‑Side Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The authentication endpoint of several WSO2 products accepts user‑supplied input without adequate encoding, allowing an attacker to embed malicious JavaScript. When the request is processed, the payload is rendered in the browser, enabling the attacker to modify the page’s user interface, redirect the user to a malicious site, or extract sensitive information from the browser’s context. Because the session cookies are marked httpOnly, an attacker cannot hijack the user’s session state, but the XSS can still be abused for phishing, credential stealing, or side‑channel attacks.

Affected Systems

Affected vendors include WSO2, with impacted products such as WSO2 API Manager, WSO2 Carbon User Management UI, WSO2 Enterprise Integrator, WSO2 Identity Server, WSO2 Identity Server as Key Manager, WSO2 Open Banking AM, and WSO2 Open Banking IAM. The vulnerability is present in all versions of these components released prior to the patch outlined in the WSO2 security advisory.

Risk and Exploitability

The CVSS score of 6.1 indicates a medium severity risk, but the EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog. The most plausible attack vector involves an attacker preparing a crafted authentication request that includes malicious JavaScript and sending it to the endpoint via HTTP or HTTPS. Although session hijacking is prevented by the httpOnly flag, successful exploitation can still provide social‑engineering opportunities, page tampering, or web‑based data theft. The overall risk is moderate, with the potential impact depending on the sensitivity of the data the authenticated user can access.

Generated by OpenCVE AI on October 21, 2026 at 19:14 UTC.

Remediation

Vendor Solution

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3382/#solution


OpenCVE Recommended Actions

  • Apply the vendor‑released patch as described in the WSO2 Security Advisory WSO2‑2024‑3382.
  • Add a strict Content‑Security‑Policy header to all authentication pages, restricting script execution to trusted origins and disabling inline scripts.
  • Implement server‑side input validation and encoding on the Authentication Endpoint, ensuring that any user‑supplied data is properly escaped before being rendered in the browser.

Generated by OpenCVE AI on October 21, 2026 at 19:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint. Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.
Title Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection
First Time appeared Wso2
Wso2 wso2 Api Manager
Wso2 wso2 Carbon User Management Ui
Wso2 wso2 Enterprise Integrator
Wso2 wso2 Identity Server
Wso2 wso2 Identity Server As Key Manager
Wso2 wso2 Open Banking Am
Wso2 wso2 Open Banking Iam
Weaknesses CWE-79
CPEs cpe:2.3:a:wso2:wso2_api_manager:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_carbon_user_management_ui:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_enterprise_integrator:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_identity_server_as_key_manager:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_open_banking_am:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_open_banking_iam:*:*:*:*:*:*:*:*
Vendors & Products Wso2
Wso2 wso2 Api Manager
Wso2 wso2 Carbon User Management Ui
Wso2 wso2 Enterprise Integrator
Wso2 wso2 Identity Server
Wso2 wso2 Identity Server As Key Manager
Wso2 wso2 Open Banking Am
Wso2 wso2 Open Banking Iam
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Wso2 Wso2 Api Manager Wso2 Carbon User Management Ui Wso2 Enterprise Integrator Wso2 Identity Server Wso2 Identity Server As Key Manager Wso2 Open Banking Am Wso2 Open Banking Iam
cve-icon MITRE

Status: PUBLISHED

Assigner: WSO2

Published:

Updated: 2026-10-21T13:36:49.246Z

Reserved: 2024-05-20T06:56:53.376Z

Link: CVE-2024-5139

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T14:17:04.550

Modified: 2026-10-21T18:37:59.557

Link: CVE-2024-5139

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T19:15:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')