Spring Framework vulnerabilities
71 known CVE vulnerabilities in Spring Framework, translated and rated.
- CVE-2026-59313Critical
Spring MVC applications using the functional web framework are vulnerable to stream corruption when using Server-Sent Events (SSE). Affects Spring Framework versions 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, and 5.3.0-5.3.49.
- CVE-2026-59283Critical
Applications that evaluate Spring Expression Language (SpEL) expressions using SimpleEvaluationContext may be vulnerable to a safety guard bypass when the SpEL expression compiler is active. Affects multiple versions of Spring Framework.
- CVE-2026-47892Critical
A WebFlux application using functional endpoints and deployed with DispatcherServlet may be vulnerable to a header predicate bypass in a pre-flight request. Affected versions: Spring Framework 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.5.RELEASE-5.2.25.RELEASE.
- CVE-2026-47891Critical
A Spring WebFlux application that relies on the Aalto XML processor to parse XML input does not correctly enforce the maxInMemorySize limit. Affected versions: Spring Framework 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.25.RELEASE and earlier.
- CVE-2026-47890Critical
Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE) with view fragments. Affected versions: Spring Framework 7.0.0-7.0.8 and 6.2.0-6.2.19.
- CVE-2022-22968Medium
In Spring Framework versions 5.3.0-5.3.18, 5.2.0-5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.
- CVE-2022-22965CriticalActively exploited
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment; applications deployed as Spring Boot executable jars are not vulnerable to this specific exploit, but the vulnerability is more general in nature.
- CVE-2022-22950Medium
In Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.
- CVE-2020-5421Medium
In Spring Framework versions 5.2.0-5.2.8, 5.1.0-5.1.17, 5.0.0-5.0.18, 4.3.0-4.3.28, and older unsupported versions, the protections against RFD attacks from CVE-2015-5211 may be bypassed depending on the browser used through the use of a jsessionid path parameter.
- CVE-2020-5398High
Spring Framework versions 5.2.x prior to 5.2.3, 5.1.x prior to 5.1.13, and 5.0.x prior to 5.0.16 are vulnerable to a reflected file download (RFD) attack when it sets a Content-Disposition header in the response where the filename attribute is derived from user supplied input.
- CVE-2016-1000027Critical
Pivotal Spring Framework through 5.3.16 may allow remote code execution (RCE) when deserializing untrusted Java data. The issue may or may not occur depending on the library's implementation in a product, and authentication may be required. The vendor states that untrusted data is not an intended use case.
- CVE-2018-15756High
Spring Framework, version 5.1, versions 5.0.x prior to 5.0.10, versions 4.3.x prior to 4.3.20, and older unsupported versions on the 4.2.x branch provide support for range requests when serving static resources through the ResourceHttpRequestHandler, or starting in 5.0 when an annotated controller returns an org.springframework.core.io.Resource. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack. This vulnerability affects applications that depend on either spring-webmvc or spring-webflux. Such applications must also have a registration for serving static resources (e.g. JS, CSS, images, and others), or have an annotated controller that returns an org.springframework.core.io.Resource. Spring Boot applications that depend on spring-boot-starter-web or spring-boot-starter-webflux are ready to serve static resources out of the box and are therefore vulnerable.
- CVE-2018-1270Critical
Spring Framework versions 5.0 prior to 5.0.5 and 4.3 prior to 4.3.15 (and older unsupported versions) allow applications to expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user can craft a message to the broker that can lead to remote code execution.
- CVE-2015-5211Critical
Spring Framework versions 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, 3.2.0 to 3.2.14, and older unsupported versions are vulnerable to a Reflected File Download (RFD) attack. The attack involves a malicious user crafting a URL with a batch script extension that results in the response being downloaded rather than rendered and also includes some input reflected in the response.
- CVE-2026-59439Low
When an inbound Message payload is a JSON array, the framework provides no control over its size, which could lead to out-of-memory (OOM) errors.
- CVE-2026-59429Low
Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if they use PathPattern with a pattern containing a {name:regex} variable whose regular expression is prone to excessive backtracking. This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as PathPatternParser being used directly by applications.
- CVE-2026-59419Medium
Spring applications that send HTTP client requests with an HTTP method derived from untrusted input may be vulnerable to a denial of service attack. When using RestClient, RestTemplate or WebClient with an ObservationRegistry and Micrometer metrics enabled, and the HTTP method is chosen by a remote user, an attacker can send many requests with distinct methods, each creating a new metric and eventually exhausting application memory.
- CVE-2026-59412Medium
When an InetAddressFilter has a '0 bits' mask, it matches both IPv4 and IPv6 addresses. A filter of 0.0.0.0/0 should have only matched IPv4 addresses, and likewise a filter of ::0/0 should have only matched IPv6 addresses.
- CVE-2026-59410Medium
When an InetAddressFilter is used with the JDK HttpClient factory, filtering only applies to the initial request. Redirect targets are never filtered, and a request to an attacker-supplied URL that answers 302 to an internal address returns the internal response body to the caller.
- CVE-2026-59398Medium
Spring MVC and Spring WebFlux applications that resolve the requested media type from a query parameter may be vulnerable to denial of service. When parameter-based content negotiation is enabled and not restricted to registered extensions, crafted requests cause unbounded memory consumption.
- CVE-2026-59394Medium
Spring Framework's UrlHandlerFilter can issue redirects that send users to an attacker-chosen location. Applications using the filter to remove trailing slashes are affected, as a crafted request URL can produce a redirect interpreted by browsers as a different origin.
- CVE-2026-59393Medium
Spring Framework's WebFlux XML decoding can exceed the configured maxInMemorySize limit. Applications decoding XML request or response bodies with the Aalto XML parser are affected, as a crafted XML payload can grow memory consumption beyond the limit.
- CVE-2026-59392Medium
Spring Framework's STOMP over SockJS support can expose messages intended for one user to another. Applications sending messages to specific users (e.g. convertAndSendToUser) are affected, as an authenticated user can craft a SockJS session to receive another user's messages.
- CVE-2026-59391Medium
Spring Framework's STOMP broker relay can allow an authenticated user to bypass message authorization rules when an external STOMP broker is used. A crafted sequence of STOMP frames can cause the broker to process commands that the application's authorization rules would otherwise deny.
- CVE-2026-59390Medium
Spring Framework's WebSocket support does not validate the Origin header by default when WebSocketHttpRequestHandler is configured directly rather than through WebSocketHandlerRegistry. A page from a different origin can open a WebSocket connection, resulting in cross-site WebSocket hijacking.
- CVE-2026-59374High
Spring Framework applications using DataBinder's allowedFields/disallowedFields mechanism to restrict properties may be vulnerable to a data binding rules bypass when targeting indexed data types. When the application binds request parameters to an object, configures an exact disallowedFields pattern (or restrictive allowedFields) for nested, map-keyed, or list-indexed properties, and lacks a wildcard disallowedFields pattern, an attacker can submit malicious form fields that write data to fields excluded from binding.
- CVE-2026-59273Medium
ELRequestMatcher evaluates a provided SpEL expression against an unrestricted evaluation context that grants full reflection, type references, and arbitrary method invocation, rather than a context limited to its documented request-matching operations. Because Spring Framework's data binding auto-discovers a property editor for this type by naming convention, an application that binds untrusted input to a bean property of this matcher type can have that input evaluated as a SpEL expression under this permissive context. This can allow an attacker who controls such bound input to achieve remote code execution in the application's process.
- CVE-2026-59314Low
Applications that build a Content-Disposition header value from untrusted input may be vulnerable to HTTP response splitting when the input is a malicious file name. Affects Spring Framework versions 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.25.RELEASE and earlier.
- CVE-2026-59282High
Spring Framework applications that use Spring's data binding infrastructure to apply user-supplied property paths onto a target object may be vulnerable to a Denial of Service (DoS) attack.
- CVE-2026-59281Medium
Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then render field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors are vulnerable to arbitrary HTML/JavaScript code injection, potentially resulting in a reflected cross-site scripting (XSS) vulnerability.
- CVE-2026-59280Medium
Applications using Spring Framework's FreeMarker integration may be vulnerable to a path traversal attack when a controller returns a view name derived from untrusted input and FreeMarker is configured to resolve templates through SpringTemplateLoader. Affected versions: Spring Framework 7.0.0 - 7.0.8, 6.2.0 - 6.2.19, 6.1.0 - 6.1.28, 6.0.0 - 6.0.30, 5.3.0 - 5.3.49, and 5.2.25.RELEASE and earlier.
- CVE-2026-47893High
A Spring WebFlux application that supports WebSocket connections may expose indirectly sensitive user information by including request headers in an exception reason. Affected versions: Spring Framework 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.25.RELEASE and earlier.
- CVE-2026-47889High
A WebFlux application running on the Jetty 12 Core reactive adapter serializes response cookies without the sameSite attribute. Affected versions: Spring Framework 7.0.0-7.0.8 and 6.2.0-6.2.19.
- CVE-2026-47888High
A Spring RSocket application is exposed to a memory leak via a malformed SETUP frame. Affected versions: Spring Framework 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.0.RELEASE-5.2.25.RELEASE.
- CVE-2026-47887Medium
A Spring MVC application that uses UrlFileNameViewController that is mapped with an end-of-path, and does not have a configured prefix is vulnerable to an open redirect. Affected versions: Spring Framework 7.0.0-7.0.8, 6.2.0-6.2.19, 6.1.0-6.1.28, 6.0.0-6.0.30, 5.3.0-5.3.49, and 5.2.25.RELEASE and earlier.
- CVE-2026-47886High
Applications that evaluate user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack when the power operator (^) is used with a BigDecimal or BigInteger operand and a large exponent value. This affects a wide range of Spring Framework versions.
- CVE-2026-47883Medium
UrlHandlerFilter can be vulnerable to an open redirect when configured with very broadly matching patterns. The issue applies to the filter variants in both Spring MVC and Spring WebFlux. Affects Spring Framework versions 7.0.0-7.0.8 and 6.2.0-6.2.19.
- CVE-2026-41855High
In an untrusted JMS environment, MappingJackson2MessageConverter and JacksonJsonMessageConverter in Spring Framework allow arbitrary class instantiation, which can lead to unauthorized actions via gadget class deserialization.
- CVE-2026-41854Medium
Spring Framework versions 7.0.0 through 7.0.7 and 6.2.0 through 6.2.18 are vulnerable to Server-Side Request Forgery (SSRF) due to incorrect host parsing in UriComponentsBuilder. Applications relying on UriComponentsBuilder to parse and validate external URLs may be exposed to sending requests to internal resources.
- CVE-2026-41853Medium
Spring MVC and WebFlux applications are vulnerable to Multipart request smuggling attacks. Affected versions: Spring Framework 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, and 5.3.0-5.3.48.
- CVE-2026-41852Low
A vulnerability in Spring Expression Language (SpEL) evaluation logic allows for arbitrary zero-argument method invocation, even within restricted contexts, which may allow an attacker to invoke unintended application logic.
- CVE-2026-41851Medium
Applications accepting user-supplied SpEL expressions may be vulnerable to DoS if evaluation triggers unbounded cache growth. Affects Spring Framework versions 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, 5.3.0-5.3.48.
- CVE-2026-41850High
Vulnerability in Spring Framework allows a DoS attack via specially crafted SpEL expressions, causing excessive resource consumption.
- CVE-2026-41849High
An integer overflow vulnerability exists in the Spring Expression Language (SpEL). An attacker can supply a specially crafted SpEL expression causing excessive resource consumption, leading to a Denial of Service (DoS).
- CVE-2026-41848Low
Applications using AntPathMatcher in Spring Framework are vulnerable to ReDoS if an attacker can supply a pattern to match(), matchStart(), or extractUriTemplateVariables(). Affects Spring Framework 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, and 5.3.0-5.3.48.
- CVE-2026-41847Medium
Spring WebFlux applications using the Kotlin Router DSL may be vulnerable to a security bypass. Affected versions: Spring Framework 5.3.0 through 5.3.48.
- CVE-2026-41846Medium
Spring MVC applications accepting user-supplied values in cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript injection, leading to XSS.
- CVE-2026-41845High
The JavaScriptUtils.javaScriptEscape() function in Spring Framework incorrectly escapes data, potentially leading to JavaScript code injection in the browser and an XSS vulnerability. Affected versions: 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, and 5.3.0-5.3.48.
- CVE-2026-41844Medium
Spring MVC or Spring WebFlux applications with a mapping for "/**" where the view name is not explicitly specified allow an attacker to craft a 302 redirect to an arbitrary external host via the redirect: prefix. Affects Spring Framework 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, 5.3.0-5.3.48.
- CVE-2026-41843Medium
Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources. The vulnerability affects Spring Framework versions 7.0.0-7.0.7, 6.2.0-6.2.18, 6.1.0-6.1.27, and 5.3.0-5.3.48.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

