---
id: CVE-2025-6024
title: >-
  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
summary: >-
  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 r…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: wso2
product: api_manager
affected:
  - api_manager = 3.1.0
  - api_manager = 3.2.0
  - api_manager = 3.2.1
  - api_manager = 4.0.0
  - api_manager = 4.1.0
  - identity_server = 5.10.0
  - identity_server = 5.11.0
published: '2026-04-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-6024'
references:
  - url: >-
      https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/
    label: ed10eef1-636d-4fbe-9993-6890dfa878f8
tags:
  - nvd
epss: 0.0023
epssPercentile: 0.12756
ingestedAt: '2026-10-14T13:30:58.481Z'
---

## Overview

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

- `api_manager = 3.1.0`
- `api_manager = 3.2.0`
- `api_manager = 3.2.1`
- `api_manager = 4.0.0`
- `api_manager = 4.1.0`
- `identity_server = 5.10.0`
- `identity_server = 5.11.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
