CVE-2025-8591
Analyzed Analyzed - Analysis Complete

Reflected Cross-Site Scripting in Application

Vulnerability report for CVE-2025-8591, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-06

Last updated on: 2026-07-09

Assigner: WSO2 LLC

Description

The software accepts user-supplied input via a URL parameter without adequate output encoding before reflecting it back to the user's browser. This condition allows an attacker to inject malicious script content into pages served by the application. By leveraging this weakness, an attacker can cause the user's browser to redirect to a malicious website, modify the UI of the webpage, or retrieve information from the browser. However, the impact is mitigated by the use of httpOnly flags on session-related cookies, preventing session hijacking.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-06
Last Modified
2026-07-09
Generated
2026-07-26
AI Q&A
2026-07-06
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 23 associated CPEs
Vendor Product Version / Range
wso2 api_control_plane From 4.5.0 (inc) to 4.5.0.44 (exc)
wso2 api_control_plane From 4.6.0 (inc) to 4.6.0.8 (exc)
wso2 api_manager From 3.1.0 (inc) to 3.1.0.355 (exc)
wso2 api_manager From 3.2.0 (inc) to 3.2.0.459 (exc)
wso2 api_manager From 3.2.1 (inc) to 3.2.1.78 (exc)
wso2 api_manager From 4.0.0 (inc) to 4.0.0.380 (exc)
wso2 api_manager From 4.1.0 (inc) to 4.1.0.243 (exc)
wso2 api_manager From 4.2.0 (inc) to 4.2.0.183 (exc)
wso2 api_manager From 4.3.0 (inc) to 4.3.0.94 (exc)
wso2 api_manager From 4.4.0 (inc) to 4.4.0.58 (exc)
wso2 api_manager From 4.5.0 (inc) to 4.5.0.43 (exc)
wso2 api_manager From 4.6.0 (inc) to 4.6.0.7 (exc)
wso2 identity_server From 7.0.0 (inc) to 7.0.0.131 (exc)
wso2 identity_server From 5.10.0 (inc) to 5.10.0.384 (exc)
wso2 identity_server From 6.0.0 (inc) to 6.0.0.255 (exc)
wso2 identity_server From 7.1.0 (inc) to 7.1.0.51 (exc)
wso2 identity_server_as_key_manager From 5.10.0 (inc) to 5.10.0.375 (exc)
wso2 open_banking_am From 2.0.0 (inc) to 2.0.0.404 (exc)
wso2 open_banking_iam From 2.0.0 (inc) to 2.0.0.424 (exc)
wso2 traffic_manager From 4.5.0 (inc) to 4.5.0.42 (exc)
wso2 traffic_manager From 4.6.0 (inc) to 4.6.0.7 (exc)
wso2 universal_gateway From 4.5.0 (inc) to 4.5.0.42 (exc)
wso2 universal_gateway From 4.6.0 (inc) to 4.6.0.7 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Reflected Cross-Site Scripting (XSS) issue found in multiple WSO2 products. It occurs because the software accepts user input through a URL parameter without properly encoding it before reflecting it back to the user's browser. This allows an attacker to inject malicious scripts into web pages served by the application.

Detection Guidance

This vulnerability is a Reflected Cross-Site Scripting (XSS) issue caused by improper output encoding of user-supplied URL parameters. Detection typically involves testing the affected WSO2 products by injecting common XSS payloads into URL parameters and observing if the payload is reflected unencoded in the response.

Common detection methods include using web vulnerability scanners or manual testing with tools like curl or browser developer tools to send crafted requests.

  • Use curl to send a request with a test XSS payload in a URL parameter, for example: curl -i "http://target-url/?param=<script>alert(1)</script>"
  • Observe the HTTP response to check if the script tag is reflected without proper encoding.
  • Use automated scanners such as OWASP ZAP or Burp Suite to detect reflected XSS vulnerabilities.
Impact Analysis

An attacker exploiting this vulnerability can cause a user's browser to redirect to malicious websites, alter the webpage's user interface, or steal information from the browser. However, the risk of session hijacking is reduced because session-related cookies are protected by the httpOnly flag.

Compliance Impact

This vulnerability allows attackers to inject malicious scripts via URL parameters, potentially leading to browser redirection, UI manipulation, or data theft from the browser.

Such security weaknesses can increase the risk of unauthorized access to user data or manipulation of user interactions, which may impact compliance with data protection regulations like GDPR and HIPAA that require safeguarding personal and sensitive information.

However, the impact is somewhat mitigated by the use of httpOnly flags on session cookies, which helps prevent session hijacking.

Organizations using affected WSO2 products should apply the provided fixes or updates to reduce the risk and maintain compliance with relevant security standards.

Mitigation Strategies

Immediate mitigation steps include applying the official patches or updates provided by WSO2 for the affected products.

If patching is not immediately possible, consider implementing input validation and output encoding on URL parameters to prevent malicious script injection.

Additionally, monitor and restrict access to affected services and consider using web application firewalls (WAFs) to block malicious payloads.

Ensure that session cookies continue to use the httpOnly flag to mitigate session hijacking risks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-8591. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart