XSS in Wso2 API Manager
CVE-2021-36760
In accountrecoveryendpoint/recoverpassword.do in WSO2 Identity Server 5.7.0, it is possible to perform a DOM-Based XSS attack affecting the callback parameter modifying the URL that precedes the callback parameter. Once the username or password reset procedure is completed, the JavaScript code will be executed. (recoverpassword.do also has an open redirect issue for a similar reason.)
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 55.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Wso2 API Manager — versions 3.0.0, 3.1.0, 3.2.0
- Wso2 Identity Server — versions 5.7.0, 5.8.0, 5.9.0
- Wso2 Identity Server As Key Manager — versions 5.3.0, 5.5.0, 5.6.0
- Wso2 Iot Server — versions 3.3.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.wso2.com/display/Security/2021+Advisories (Vendor Advisory)
- docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1314 (Vendor Advisory)