4.8Medium

CVE-2026-40986Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML

Spring Spring Web Flow Published: (5 months ago)

Description

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
broadcom spring web flow < 2.5.2
Spring Spring Web Flow 4.0.0 – < 4.0.0.1, 3.0.0 – < 3.0.1.1, 2.5.0 – < 2.5.2

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:* < 2.5.2
  • cpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:* ≥ 3.0.0 < 3.0.1.1
  • cpe:2.3:a:broadcom:spring_web_flow:4.0.0:*:*:*:*:*:*:*