Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
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.
Description: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
Metrics
Version
Base score
Base severity
Vector
3.1
4.8
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Version:3.1
Base score:4.8
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Metrics Other Info
Impacts
CAPEC ID
Description
N/A
An attacker who can influence error responses from the server can cause Spring Web Flow's JavaScript RemotingHandler to render attacker-controlled content as HTML in the user's browser.
CAPEC ID: N/A
Description: An attacker who can influence error responses from the server can cause Spring Web Flow's JavaScript RemotingHandler to render attacker-controlled content as HTML in the user's browser.