CVE-2026-40986

Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML

MEDIUM
4.8
CVSS Score
Published: June 11, 2026 at 05:03 AM UTC
Updated: September 4, 2026 at 06:26 PM UTC
2 products affected across 2 vendorsSpring Web FlowSpring Web Flow

Using Spring Web Flow by Spring?

Get instant alerts when new vulnerabilities affect Spring Web Flow - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.5.23.0.0 ≤ v < 3.0.1.14.0.0
Affected range stops below 2.5.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.1.1, so it looks safe — our inference, not a vendor statement
2.5.0 ≤ v < 2.5.23.0.0 ≤ v < 3.0.1.14.0.0 ≤ v < 4.0.0.12.5.03.0.04.0.0
Affected range stops below 2.5.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.1.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.0.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

Vendor Advisory
Source: cverecord
https://spring.io/security/cve-2026-40986

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.8MEDIUMvmware
Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card