Published: 04th April 2020
CVSS Score: 5.4 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
WSO2 API Manager : 3.0.0 or earlier
WSO2 API Microgateway : 2.2.0
WSO2 IS as Key Manager : 5.7.0 , 5.9.0
A potential Cross-Site Scripting (XSS) vulnerability has been identified in registry resource info UI.
This vulnerability can be exploitable in registry resource info UI when a user add a comment with malicious script.
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 you are using an affected product version, it is highly recommended to migrate to the latest released version to receive security fixes.
You may also apply the relevant fixes based on the changes from the public fix: https://github.com/wso2/carbon-registry/pull/346
Note: If you are a WSO2 customer with Support Subscription, please use WSO2 Update Manager (WUM) updates in order to apply the fix.
WSO2 thanks, Raki Ben Hamouda for responsibly reporting the identified issue and working with us as we addressed it.