The Issue: The server push endpoint reflects the incoming request’s Origin header into permissive CORS headers.
Severity: Low (CVSS score of 2.3).
Exposure Condition: Your application must have server push enabled (via @Push or related configurations). If your Jmix app does not use server push, it is not vulnerable.
From the breakdown, our application is impacted. Therefore, we’d like to know how to handle it before we go live.
Will Jmix release a patch for 2.8.x?
If not, what is the recommended solution or workaround?
Until the fix lands in Jmix, apply the workaround recommended by Vaadin: set the Vaadin servlet init parameter org.atmosphere.cpr.dropAccessControlAllowOriginHeader to true. To do that, add this class to your application:
Thank you for the prompt response and for providing the workaround.
We appreciate the clarification and will proceed with implementing the recommended configuration to mitigate the vulnerability in our Jmix 2.8.x application.