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.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api(Maven) | 0 | 9.31.117 | N/A |
| org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1(Maven) | 0 | 9.31.117 | N/A |
CVSS Metrics