CVE Catalog

CVE-2025-4760

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

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.

Risk Assessment

A user with publisher privileges can execute malicious JavaScript in other users' browsers, potentially leading to redirections, UI modifications, or data leakage, though session hijacking is mitigated by httpOnly.

Recommendation

Update WSO2 products to versions containing the fix. Implement additional validation and sanitization of uploaded API documents and limit publisher privileges.

Other vulnerabilities in WSO2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS