Skip to content
CVE PROGRAM SOURCE RECORD4.8 Medium

CVE-2025-4760

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

WSO2 WSO2 API Manager

Default version status: unaffected

  • 0 to < 3.2.0unknown
  • 3.2.0 to < 3.2.0.428affected
  • 3.2.1 to < 3.2.1.48affected
  • 4.1.0 to < 4.1.0.209affected
  • 4.2.0 to < 4.2.0.145affected
  • 4.3.0 to < 4.3.0.60affected
  • 4.4.0 to < 4.4.0.23affected
  • 4.5.0 to < 4.5.0.7affected

WSO2 WSO2 API Control Plane

Default version status: unaffected

  • 4.5.0 to < 4.5.0.8affected

WSO2 WSO2 Universal Gateway

Default version status: unaffected

  • 4.5.0 to < 4.5.0.7affected

WSO2 WSO2 Traffic Manager

Default version status: unaffected

  • 4.5.0 to < 4.5.0.7affected

WSO2 WSO2 Carbon API Management API

Default version status: unknown

  • 6.7.206 to < 6.7.206.559affected
  • 6.7.210 to < 6.7.210.48affected
  • 9.20.74 to < 9.20.74.365affected
  • 9.28.116 to < 9.28.116.321affected
  • 9.29.120 to < 9.29.120.163affected
  • 9.30.67 to < 9.30.67.80affected
  • 9.31.86 to < 9.31.86.30affected
  • 9.31.117 to ≤ *unaffected

References