GHSA-hw5c-xm3c-v96w
Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
Quick fix
GHSA-hw5c-xm3c-v96w — org.springframework.webflow:spring-webflow: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.1</version> for org.springframework.webflow:spring-webflow Details
Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which can result in a scripting attack in the user's browser if the error response from the server contains error details with input reflected from an attacker.
Affected versions: Spring Web Flow 4.0.0; 3.0.0 through 3.0.1; 2.5.0 through 2.5.1.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0 Fixed in: 4.0.1 # pom.xml: bump <version>4.0.1</version> for org.springframework.webflow:spring-webflow 3.0.0 Fixed in: 3.0.2 # pom.xml: bump <version>3.0.2</version> for org.springframework.webflow:spring-webflow 0 No fixed version published yet for org.springframework.webflow:spring-webflow (maven). Pin to a known-safe version or switch to an alternative.