WaratekVRT Sign in

CVE-2026-40986 Spring Web Flow

Affected softwareSpring Web Flow
Severity4.8 Medium CVSS 3.1
Fixed in4.0.1, 3.0.2
WeaknessCross-site scripting (CWE-79)
Published11 Jun 2026
Updated4 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.21% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.webflow:spring-webflow 4.0.0 4.0.1 unbounded
org.springframework.webflow:spring-webflow 3.0.0 3.0.2 unbounded
org.springframework.webflow:spring-webflow 0 none 2.5.1

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd broadcom spring web flow generic < 2.5.2 · ≥ 3.0.0 and < 3.0.1.1 · 4.0.0
osv org.springframework.webflow spring-webflow generic ≤ 2.5.1 · ≥ 3.0.0 and < 3.0.2 · ≥ 4.0.0 and < 4.0.1

References

URLTags
https://github.com/spring-projects/spring-webflow PACKAGE
https://spring.io/security/cve-2026-40986 WEB

Timeline

Published2026-06-11By the CVE Program.
NVD record modified2026-09-04NVD's own last-modified date for this record.