Published: 2nd September 2021
CVSS Score: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
WSO2 API Manager : 2.2.0
WSO2 API Microgateway : 2.2.0
WSO2 IS as Key Manager : 5.5.0 , 5.6.0
WSO2 Identity Server : 5.4.0 , 5.4.1 , 5.5.0 , 5.6.0
Reflected Cross-Site Scripting (XSS) vulnerability in the OAuth2 authorize endpoint.
An error response generated by the OAuth2 authorize endpoint contains a reflected value from the request which could lead to an XSS.
By leveraging an XSS attack, an attacker can make the browser get redirected to a malicious website, make changes in the UI of the web page, retrieve information from the browser or harm otherwise. However, since all the session related sensitive cookies are set with httpOnly flag and protected, session hijacking or similar attacks would not be possible.
If the latest version of the affected WSO2 product is not mentioned under the affected product list, you may migrate to the latest version to receive security fixes. Otherwise you may apply the relevant fixes to the product based on the public fix: https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1061
Note: If you are a WSO2 customer with Support Subscription, please use WSO2 Updates in order to apply the fix.