CVE Explorer
CVE-2026-40986
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Spring Web Flow","vendor":"Spring","versions":[{"lessThan":"4.0.0.1","status":"affected","version":"4.0.0","versionType":"custom"},{"lessThan":"3.0.1.1","status":"affected","version":"3.0.0","versionType":"custom"},{"lessThan":"2.5.2","status":"affected","version":"2.5.0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:16dc359ff2d5d2bb3797a241325acca248a81119f8fe16684efb6f589a2e265b · sha256:c5723440faaf05f2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:16dc359ff2d5d2bb3797a241325acca248a81119f8fe16684efb6f589a2e265b · sha256:c5723440faaf05f2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16dc359ff2d5d2bb3797a241325acca248a81119f8fe16684efb6f589a2e265b · sha256:c5723440faaf05f2… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-40986"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16dc359ff2d5d2bb3797a241325acca248a81119f8fe16684efb6f589a2e265b · sha256:c5723440faaf05f2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.