# CVE-2025-6024: Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-04-16T09:48:45.244Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running WSO2 API Manager \>= 3.1.0, \< 3.1.0.351; \>= 3.2.0, \< 3.2.0.455; \>= 3.2.1, \< 3.2.1.74; \>= 4.0.0, \< 4.0.0.375; \>= 4.1.0, \< 4.1.0.238
- Anyone running WSO2 Identity Server \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.405

## 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.

## Affected and fixed versions

- WSO2 API Manager: \>= 3.1.0, \< 3.1.0.351; \>= 3.2.0, \< 3.2.0.455; \>= 3.2.1, \< 3.2.1.74; \>= 4.0.0, \< 4.0.0.375; \>= 4.1.0, \< 4.1.0.238 (cvelist)
- WSO2 Identity Server: \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.405 (cvelist)

## Mitigation

- Upgrade WSO2 API Manager to 4.1.0.238 or later.
- Upgrade WSO2 Identity Server to 5.11.0.405 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-6024. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-6024.md
Affected: WSO2 API Manager >= 3.1.0, < 3.1.0.351; >= 3.2.0, < 3.2.0.455; >= 3.2.1, < 3.2.1.74; >= 4.0.0, < 4.0.0.375; >= 4.1.0, < 4.1.0.238; WSO2 Identity Server >= 5.10.0, < 5.10.0.360; >= 5.11.0, < 5.11.0.405
Fixed in: WSO2 API Manager 3.1.0.351, WSO2 API Manager 3.2.0.455, WSO2 API Manager 3.2.1.74, WSO2 API Manager 4.0.0.375, WSO2 API Manager 4.1.0.238, WSO2 Identity Server 5.10.0.360, WSO2 Identity Server 5.11.0.405

Steps:
1. Search this machine and project for WSO2 API Manager, WSO2 Identity Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-6024 being exploited?

There is no confirmed exploitation: CVE-2025-6024 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-6024?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-6024?

WSO2 API Manager \>= 3.1.0, \< 3.1.0.351; \>= 3.2.0, \< 3.2.0.455; \>= 3.2.1, \< 3.2.1.74; \>= 4.0.0, \< 4.0.0.375; \>= 4.1.0, \< 4.1.0.238; WSO2 Identity Server \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.405.

### Is there a fix for CVE-2025-6024?

Yes. Fixed in WSO2 API Manager 3.1.0.351, WSO2 API Manager 3.2.0.455, WSO2 API Manager 3.2.1.74, WSO2 API Manager 4.0.0.375, WSO2 API Manager 4.1.0.238, WSO2 Identity Server 5.10.0.360, WSO2 Identity Server 5.11.0.405. Upgrade WSO2 API Manager to 4.1.0.238 or later. Upgrade WSO2 Identity Server to 5.11.0.405 or later.

### How do I check if I'm affected by CVE-2025-6024?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-6024>

HTML: <https://flawdb.com/CVE-2025-6024> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-6024>
