Published: 08th September 2020
CVSS Score: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
WSO2 Enterprise Integrator : 6.6.0 or earlier
Stored Cross-Site-Scripting(XSS) vulnerability in BPMN explorer.
In BPMN explorer when comments are added to tasks, an attacker can replace the request with an XSS payload. Then XSS payload gets stored and executed every time the user loads the task.
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-business-process/pull/621
Further, BPMN explorer is a sample web application which is not recommended in production environment. If required, you can develop your own web apps to replace the BPMN Explorer .
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, Gianluca Palma for responsibly reporting the identified issue and working with us as we addressed it.