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

Published Jun 11, 2026
·
Updated

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 Software

1 affected component
Spring Spring Web Flow=4.0.0, >=3.0.0<=3.0.1, >=2.5.0<=2.5.1

Event History

Jun 11, 2026
CVE Published
via MITRE·05:03 AM
Data Sourced
via MITRE·05:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40986?

The severity of CVE-2026-40986 is medium with a score of 4.8.

2

What type of vulnerability is CVE-2026-40986?

CVE-2026-40986 is categorized as an XSS (Cross-Site Scripting) vulnerability.

3

How can I mitigate CVE-2026-40986?

To mitigate CVE-2026-40986, ensure that your Spring Web Flow is updated to a patched version that addresses this vulnerability.

4

What is the risk associated with CVE-2026-40986?

CVE-2026-40986 carries a risk of scripting attacks in the user's browser if the error response contains attacker-reflected input.

5

What software is affected by CVE-2026-40986?

CVE-2026-40986 affects the Spring Web Flow component of the Spring framework.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203