Every CVE Search/ Get API key

CVE-2026-40986

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

4.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.21%Up 0.2 points since Jun 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 4.8

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.

Record
CVE-2026-40986
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2026-36201 4.8

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.

Record
EUVD-2026-36201
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-hw5c-xm3c-v96w 4.8

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.

Record
GHSA-hw5c-xm3c-v96w
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 4.8

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.

Record
CVE-2026-40986
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 4.8

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.

Record
CVE-2026-40986
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVGHSA-hw5c-xm3c-v96w 4.8

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.

Record
GHSA-hw5c-xm3c-v96w
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2026-40986 No score

CVE-2026-40986 in io.root.org.springframework.webflow:spring-js-resources - Patched by Root

Root has patched CVE-2026-40986 in the io.root.org.springframework.webflow:spring-js-resources package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2026-40986
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.webflow:spring-webflow
Maven
4.0.0 to 4.0.0
4.0.1
org.springframework.webflow:spring-webflow
Maven
3.0.0 to 3.0.1
3.0.2
org.springframework.webflow:spring-webflow
Maven
through 2.5.1 None known
org.springframework.webflow:spring-webflow
Maven
4.0.0 up to 4.0.1
4.0.1
org.springframework.webflow:spring-webflow
Maven
3.0.0 up to 3.0.2, plus listed versions
3.0.1
3.0.2
org.springframework.webflow:spring-webflow
Maven
through 2.5.1, plus listed versions
2.0.6.RELEASE2.0.7.RELEASE2.0.8.RELEASE2.0.9.RELEASE2.1.0.RELEASE
Show 18 moreShow less
2.1.1.RELEASE2.2.0.RELEASE2.2.1.RELEASE2.3.0.RELEASE2.3.1.RELEASE2.3.2.RELEASE2.3.3.RELEASE2.3.4.RELEASE2.4.0.RELEASE2.4.1.RELEASE2.4.2.RELEASE2.4.4.RELEASE2.4.5.RELEASE2.4.6.RELEASE2.4.7.RELEASE2.4.8.RELEASE2.5.0.RELEASE2.5.1.RELEASE
None known
io.root.org.springframework.webflow:spring-js-resources
Root:Maven
before 3.0.1-root.io.1
3.0.1-root.io.1
org.springframework.webflow:spring-js-resources
Root:Maven
before 3.0.1-aikido.1
3.0.1-aikido.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-40986 is a medium vulnerability (CVSS 4.8) in Broadcom Spring Web Flow, published June 11, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 10th percentile. Fixed in org.springframework.webflow:spring-webflow 4.0.1.

References

MoveEnter Open