CVE-2025-4760: WSO2 API Manager · XSS or 'Cross-site Scripting'
Affects WSO2 API ManagerSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| WSO2 WSO2 API Manager | Affected
| Fixed in– |
AI-suggested
European organizations should implement the following specific mitigations: 1) Restrict publisher privileges strictly to trusted personnel and enforce strong authentication and authorization controls to minimize the risk of malicious uploads. 2) Monitor and audit API document uploads for unusual or suspicious content, employing automated scanning tools to detect embedded scripts or anomalous payloads. 3) Apply strict content security policies (CSP) in the API Manager web interface to limit the execution of inline scripts and reduce the impact of XSS attacks. 4) Regularly update WSO2 API Manager to the latest versions once official patches for CVE-2025-4760 are released. 5) Educate users with publisher roles about safe upload practices and the risks of malicious documents. 6) Implement network segmentation and access controls to limit exposure of the API Manager portal to only necessary users and networks. 7) Consider deploying web application firewalls (WAFs) with custom rules to detect and block malicious script payloads in API document uploads. These measures combined will reduce the likelihood and impact of exploitation beyond generic advice.
Description
An authenticated stored cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper validation of user-supplied input during API document upload in the Publisher portal. A user with publisher privileges can upload a crafted API document containing malicious JavaScript, which is later rendered in the browser when accessed by other users. A successful attack could result in redirection to malicious websites, unauthorized UI modifications, or exfiltration of browser-accessible data. However, session-related sensitive cookies are protected by the httpOnly flag, preventing session hijacking.