# 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…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-02)
- Published: 2021-12-07T20:48:56.000Z
- Modified: 2026-06-17T03:59:07.273Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wso2 api_manager: 3.0.0; 3.1.0; 3.2.0; 4.0.0
- wso2 identity_server: 5.7.0; 5.8.0; 5.9.0; 5.10.0; 5.11.0
- wso2 identity_server_as_key_manager: 5.3.0; 5.5.0; 5.6.0; 5.7.0; 5.9.0; 5.10.0
- wso2 iot_server: 3.3.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://docs.wso2.com/display/Security/2021+Advisories> (vendor-advisory)
- <https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1314> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-36760](https://www.cve.org/CVERecord?id=CVE-2021-36760), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-36760](https://nvd.nist.gov/vuln/detail/CVE-2021-36760), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36760 · Whole record: https://cve.day/CVE-2021-36760.json · Rebuilt by cve.day 2026-11-25T22:58:05.860Z
