4.8Medium

CVE-2025-4760Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher

WSO2 WSO2 API Manager; WSO2 WSO2 API Control Plane; WSO2 WSO2 Universal Gateway; WSO2 WSO2 Traffic Manager Published: (1 year ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
wso2 api control plane 4.5.0
wso2 api manager 3.2.0
wso2 traffic manager 4.5.0
wso2 universal gateway 4.5.0
WSO2 WSO2 API Control Plane 4.5.0 – < 4.5.0.8
WSO2 WSO2 API Manager 3.2.0 – < 3.2.0.428, 3.2.1 – < 3.2.1.48, 4.1.0 – < 4.1.0.209, 4.2.0 – < 4.2.0.145, 4.3.0 – < 4.3.0.60, 4.4.0 – < 4.4.0.23, 4.5.0 – < 4.5.0.7
WSO2 WSO2 Carbon API Management API 6.7.206 – < 6.7.206.559, 6.7.210 – < 6.7.210.48, 9.20.74 – < 9.20.74.365, 9.28.116 – < 9.28.116.321, 9.29.120 – < 9.29.120.163, 9.30.67 – < 9.30.67.80, 9.31.86 – < 9.31.86.30
WSO2 WSO2 Traffic Manager 4.5.0 – < 4.5.0.7
WSO2 WSO2 Universal Gateway 4.5.0 – < 4.5.0.7

References and patches

CPE matches (NVD) (10)

  • cpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:*