CVE-2025-6024

Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites

Published Apr 16, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection.
An attacker can leverage this by injecting malicious scripts into the authentication endpoint. This can result in the user's browser being redirected to a malicious website, manipulation of the web page's user interface, or the retrieval of information from the browser. However, session hijacking is not possible due to the httpOnly flag protecting session-related cookies.

Analysis

AI-generated

Technical impact

The authentication endpoint in WSO2 products does not encode user‑supplied input before rendering it, creating a cross‑site scripting vulnerability. An attacker can embed malicious JavaScript into the endpoint, which the victim’s browser will execute. The script can redirect the user to a malicious site, alter the page’s user interface, or exfiltrate data stored in the browser. Session hijacking is not feasible because session cookies are protected with the httpOnly flag.

Affected Systems

The vulnerability affects WSO2 API Manager and WSO2 Identity Server. Specific product versions are not listed in the advisory, so all recent releases should be verified for a fix.

Risk and Exploitability

This issue carries a moderate CVSS score of 6.1, with an EPSS score of 0.0003 and has not yet been listed in the CISA KEV catalog. Because the flaw resides in a public authentication endpoint, exploitation is possible over the internet when a user visits or interacts with the vulnerable page. The attack required the victim’s browser to load the injected script, implying a user‑interaction component, but developers or attackers can craft malicious links to entice users. The absence of session cookie compromise limits the threat to client‑side damage and data theft rather than full account takeover.

Remediation

Vendor Solution

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


OpenCVE Recommended Actions

  • Apply the vendor‑issued patch as described in the WSO2 advisory
  • Upgrade to the latest product release that includes the fix if the patch is not yet available
  • Configure a strict content‑security‑policy to restrict script execution on the authentication endpoint

Generated by OpenCVE AI on April 17, 2026 at 04:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wso2 api Manager
Wso2 identity Server
CPEs cpe:2.3:a:wso2:api_manager:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:*
cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:*
cpe:2.3:a:wso2:api_manager:4.0.0:*:*:*:*:*:*:*
cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:*
cpe:2.3:a:wso2:identity_server:5.10.0:*:*:*:*:*:*:*
cpe:2.3:a:wso2:identity_server:5.11.0:*:*:*:*:*:*:*
Vendors & Products Wso2 api Manager
Wso2 identity Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wso2
Wso2 wso2 Api Manager
Wso2 wso2 Identity Server
Vendors & Products Wso2
Wso2 wso2 Api Manager
Wso2 wso2 Identity Server
Type Values Removed Values Added
Description The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection. An attacker can leverage this by injecting malicious scripts into the authentication endpoint. This can result in the user's browser being redirected to a malicious website, manipulation of the web page's user interface, or the retrieval of information from the browser. However, session hijacking is not possible due to the httpOnly flag protecting session-related cookies.
Title Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites
Weaknesses CWE-79
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WSO2
Published
Updated
Apr 16, 2026, 12:30 PM
Reserved
Jun 12, 2025, 9:23 AM
Status
Analyzed
Published
Apr 16, 2026, 10:16 AM
Modified
Oct 14, 2026, 1:10 PM