JAVA-059 / Intermediate
Permissive CORS (* with credentials)
Why is this a problem?
Arbitrary sites can read logged-in users' responses.
How to fix it
java
registry.addMapping("/api/**").allowedOrigins("https://app.example.com").allowCredentials(true);