CVE-2026-40986
Last modified
CVE-2026-40986 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| 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
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-40986?
How severe is CVE-2026-40986?
How do I fix CVE-2026-40986?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40980In Spring AI, a malicious PDF file can be crafted that trigg…6.5
- CVE-2026-40981When using Google Secrets Manager as a backend for the Sprin…7.5
- CVE-2026-40982Spring Cloud Config allows applications to serve arbitrary t…9.1
- CVE-2026-40983In Micrometer, it is possible for a user to provide speciall…7.5
- CVE-2026-40984In Micrometer, it is possible for a user to provide speciall…7.5
- CVE-2026-40985Applications that configure the WebFlowELExpressionParser ar…6.4
- CVE-2026-40987A malicious or compromised FTP/SFTP/SMB server can write arb…7.1
- CVE-2026-40988An application using spring-security-saml2-service-provider …7.5
- CVE-2026-40989Under infinite recursion in the routing layer, request-handl…6.5
- CVE-2026-40990OOM error is possible while attempting to add infinite amoun…6.5
- CVE-2026-40991When using spring-restdocs-webtestclient or spring-restdocs-…5.9
- CVE-2026-40992Spring Boot's Mail auto-configuration does not enable hostna…5
Are you affected by CVE-2026-40986?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
