July 27, 2026
CVE-2025–4760: Authenticated Stored XSS Vulnerability in WSO2 API Manager - What You Need to Know
Introduction

By Loginsoft
1 min read
Introduction
CVE-2025–4760 is an authenticated Stored Cross-Site Scripting (XSS) vulnerability affecting multiple WSO2 products, including WSO2 API Manager. The issue arises from improper validation of uploaded API documents in the Publisher portal, allowing authenticated users with publisher privileges to inject malicious JavaScript.
Understanding CVE-2025–4760
The vulnerability can be exploited when a user uploads a crafted API document containing embedded JavaScript. When other users access the document, the malicious script executes in their browsers, potentially leading to browser redirection, UI manipulation, or exposure of browser-accessible data. While session cookies are protected using the httpOnly flag, the vulnerability still poses significant security concerns.
Impact and Risk
Stored XSS vulnerabilities are particularly dangerous because malicious payloads persist within the application and can affect multiple users over time. In API management environments, successful exploitation could enable attackers to:
- Redirect users to phishing websites
- Modify content displayed in the Publisher portal
- Access browser-accessible information
- Perform actions on behalf of affected users within the application context
Organizations using vulnerable WSO2 versions should assess their exposure and prioritize remediation.
Mitigation and Recommendations
To reduce risk, organizations should:
- Upgrade to the latest patched WSO2 versions.
- Implement strict file upload validation mechanisms.
- Enforce content security policies (CSP).
- Regularly review API Publisher permissions and access controls.
- Conduct periodic security assessments of API management platforms.
WSO2 addressed this issue by introducing stricter MIME type validation during document uploads to prevent malicious files from being processed.
Conclusion
CVE-2025–4760 highlights the importance of secure input validation and file upload controls within API management platforms. Even authenticated users can become attack vectors when proper security checks are not enforced.
Read the complete technical analysis and remediation guidance in the original article: CVE-2025–4760: Authenticated Stored XSS Vulnerability in WSO2 API Manager - What You Need to Know.