Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-4760

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-4760
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:13 UTC · Revision 1

Source evidence

CVE-2025-4760

core-osv · Original source

Published 23 Sept 2025, 15:15 UTC

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.

osv:CVE-2025-4760
Complete source record
{
  "id": "9de8996d7d118b8676a85a0d623d6e6353b573586f71983bd9b69287619fb59f",
  "url": "https://osv.dev/vulnerability/CVE-2025-4760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-4760",
    "summary": "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.",
    "evidence": "osv:CVE-2025-4760",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-4760",
      "aliases": [
        "CVE-2025-4760",
        "GHSA-cmjc-qp7j-xgwr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wso2/product-apim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e4956e9301b1c26eb06e80ec5c86628154b6ab55"
                },
                {
                  "last_affected": "4e9b0158d1d7e83f1599dbc906ae7e968520592c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "last_affected": "3.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0-NA"
                      },
                      {
                        "last_affected": "4.1.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0-NA"
                      },
                      {
                        "last_affected": "4.2.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0-NA"
                      },
                      {
                        "last_affected": "4.3.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0-NA"
                      },
                      {
                        "last_affected": "4.4.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0-NA"
                      },
                      {
                        "last_affected": "4.5.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.0",
            "4.1.0-NA",
            "4.2.0-NA",
            "4.3.0-NA",
            "4.4.0-NA",
            "4.5.0-NA",
            "v4.5.0-rc2",
            "v4.5.0",
            "v4.5.0-gw-rc2",
            "v4.5.0-gw",
            "v4.5.0-tm-rc2",
            "v4.5.0-tm",
            "v4.5.0-acp-rc2",
            "v4.5.0-acp",
            "v4.5.0-rc",
            "v4.5.0-gw-rc",
            "v4.5.0-tm-rc",
            "v4.5.0-acp-rc",
            "v4.5.0-beta",
            "v4.5.0-gw-beta",
            "v4.5.0-tm-beta",
            "v4.5.0-acp-beta",
            "v4.5.0-acp-alpha",
            "v4.5.0-tm-alpha",
            "v4.5.0-gw-alpha",
            "v4.5.0-m2",
            "v4.5.0-acp-m1",
            "v4.5.0-tm-m1",
            "v4.5.0-gw-m1",
            "v4.5.0-m1",
            "v4.3.0-rc2",
            "v4.3.0",
            "v4.4.0-rc2",
            "v4.4.0",
            "v4.4.0-rc",
            "v4.4.0-beta",
            "v4.4.0-alpha",
            "v4.4.0-m1",
            "v4.3.0-rc",
            "v4.3.0-beta",
            "v4.3.0-alpha2",
            "v4.3.0-alpha",
            "v4.3.0-m2",
            "v4.2.0-rc2",
            "v4.2.0",
            "v4.2.0-rc",
            "v4.2.0-beta",
            "v4.2.0-alpha",
            "v4.2.0-m1",
            "v4.1.0-rc3",
            "v4.1.0",
            "v4.1.0-rc2",
            "v4.1.0-rc",
            "v4.1.0-beta",
            "v4.1.0-alpha",
            "v4.1.0-m4",
            "v4.1.0-m3",
            "v4.1.0-m2",
            "v4.1.0-m1",
            "v4.0.0-rc",
            "v4.0.0",
            "4.0.0-beta",
            "v4.0.0-beta",
            "v4.0.0-alpha",
            "v4.0.0-m8",
            "v4.0.0-m7",
            "v4.0.0-m6",
            "v4.0.0-m5",
            "v4.0.0-m4",
            "v4.0.0-m3",
            "v4.0.0-m2",
            "v4.0.0-m1",
            "v3.2.0-rc6",
            "v3.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4760.json"
          }
        }
      ],
      "modified": "2026-10-27T02:45:11.188561690Z",
      "provider": "osv",
      "references": [
        "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:*"
            ],
            "vendor_product": "wso2:api_control_plane",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0-NA"
                  },
                  {
                    "last_affected": "4.5.0-NA"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "wso2:api_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.2.1"
                  },
                  {
                    "last_affected": "3.2.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "wso2:traffic_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0"
                  },
                  {
                    "last_affected": "4.5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "wso2:universal_gateway",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0"
                  },
                  {
                    "last_affected": "4.5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-4760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460099,
  "published_at": "2025-09-23T15:15:31.063+00:00"
}