Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2021-36760

Severity Medium
Score 6.1/10

Summary

In accountrecoveryendpoint/recoverpassword.do in WSO2 Identity Server 5.7.0 , 5.8.0 , 5.9.0 , 5.10.0 , 5.11.0, WSO2 API Manager 3.0.0 , 3.1.0 , 3.2.0 , 4.0.0, WSO2 IS as Key Manager 5.3.0 , 5.5.0 , 5.6.0 , 5.7.0 , 5.9.0 , 5.10.0 and WSO2 IoT Server 3.3.1 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.)

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published