ghsa-cmjc-qp7j-xgwr
Vulnerability from github
Published
2025-09-23 15:31
Modified
2025-09-27 03:38
Severity ?
Summary
WSO2 carbon-apimgt affected by an authenticated stored cross-site scripting (XSS) vulnerability
Details
An authenticated stored Cross-Site Scripting (XSS) vulnerability exists in WSO2 API Manager components (carbon-apimgt
) due to insufficient validation of user-supplied input during API document upload in the Publisher portal.
A user with publisher privileges can upload a crafted API document whose contents are later rendered in the UI for other users, leading to attacker-controlled script execution. Likely outcomes include redirection to malicious sites, unauthorized UI modifications, or exfiltration of data accessible to the browser; session hijacking is mitigated by the use of HttpOnly
session cookies.
To remediate, update to version 9.31.117 or above.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "9.31.117" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "9.31.117" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-4760" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2025-09-23T17:38:55Z", "nvd_published_at": "2025-09-23T15:15:31Z", "severity": "MODERATE" }, "details": "An authenticated stored Cross-Site Scripting (XSS) vulnerability exists in WSO2 API Manager components (`carbon-apimgt`) due to insufficient validation of user-supplied input during API document upload in the Publisher portal.\n\nA user with publisher privileges can upload a crafted API document whose contents are later rendered in the UI for other users, leading to attacker-controlled script execution. Likely outcomes include redirection to malicious sites, unauthorized UI modifications, or exfiltration of data accessible to the browser; session hijacking is mitigated by the use of `HttpOnly` session cookies.\n\nTo remediate, update to version 9.31.117 or above.", "id": "GHSA-cmjc-qp7j-xgwr", "modified": "2025-09-27T03:38:34Z", "published": "2025-09-23T15:31:09Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-4760" }, { "type": "WEB", "url": "https://github.com/wso2/carbon-apimgt/pull/13099" }, { "type": "WEB", "url": "https://github.com/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca" }, { "type": "PACKAGE", "url": "https://github.com/wso2/carbon-apimgt" }, { "type": "WEB", "url": "https://mvnrepository.com/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117" }, { "type": "WEB", "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "WSO2 carbon-apimgt affected by an authenticated stored cross-site scripting (XSS) vulnerability" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.