Skip to content

← Public intelligence

Maven package

org.springframework:spring-webmvc

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

27 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8MavenAmendedPublished

    Spring Framework Server Sent Event stream corruption while rendering fragments

    CVE-2026-47890 · GHSA-j9f9-w8pj-32f8

    Affected
    • Maven org.springframework:spring-webmvc >= 6.2.0, <= 6.2.19; >= 7.0.0, <= 7.0.8
    Fixed in
    7.0.9· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE) with view fragments. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19

    Recommended action: Upgrade to 7.0.9; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Critical, CVSS 9.8MavenAmendedPublished

    Spring Framework Improper Path Limitation in XsltView

    CVE-2026-47884 · GHSA-pc63-qcmh-9cmg

    Affected
    • Maven org.springframework:spring-webmvc <= 5.2.25.RELEASE; >= 5.3.0, <= 5.3.49; >= 6.0.0, <= 6.0.30; >= 6.1.0, <= 6.1.28; >= 6.2.0, <= 6.2.19; >= 7.0.0, <= 7.0.8
    Fixed in
    7.0.9· Partial vendor fix
    Issue
    Use of XsltView in a Spring MVC application can result in SSRF and RCE attack if the application has an "/" mapping that results in view rendering, and where the view name is not explicitly specified. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier

    Recommended action: Upgrade to 7.0.9; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 5.3MavenPublished

    Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux

    CVE-2026-41853 · GHSA-cjpg-rgq5-fr37

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to Multipart request smuggling attacks. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.9MavenPublished

    Spring Framework Cross-site Scripting via JSP Form Tags

    CVE-2026-41846 · GHSA-957g-f97v-vppc

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.1MavenPublished

    Spring Framework Cross-site Scripting via JavaScriptUtils

    CVE-2026-41845 · GHSA-3chg-m5w7-qfv5

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 4.2MavenPublished

    Spring Framework Open Redirect in Spring MVC and WebFlux

    CVE-2026-41844 · GHSA-h3qp-gqrc-q736

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    A Spring MVC or Spring WebFlux application which configures a mapping for "/" where the view name is not explicitly specified allows an attacker to craft a link resulting in a 302 redirect to an arbitrary external host via the redirect: prefix. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 5.9MavenPublished

    Spring Framework Path Traversal via Versioned Static Resources in Spring MVC and WebFlux

    CVE-2026-41843 · GHSA-72pg-x5f8-j25j

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 5.9MavenPublished

    Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux

    CVE-2026-41841 · GHSA-mq64-j8f9-9gcj

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to Information Disclosure attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.5MavenPublished

    Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux

    CVE-2026-41842 · GHSA-x23c-287f-qqv5

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.7; >= 6.2.0, <= 6.2.18; >= 6.1.0, <= 6.1.21; <= 5.3.39
    Fixed in
    7.0.86.2.19· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to Denial of Service (DoS) attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

    Recommended action: Upgrade to 7.0.8 or 6.2.19 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Low, CVSS 3.1MavenPublished

    Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.

    CVE-2026-22741 · GHSA-wg35-8jpf-2xv3

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.6; >= 6.2.0, <= 6.2.17; >= 6.1.0, <= 6.1.26; <= 5.3.47
    Fixed in
    7.0.76.2.18· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources. More precisely, an application can be vulnerable when all the following are true: the application is using Spring MVC or Spring WebFlux the application is configuring the resource chain support https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title with caching enabled the application adds support for encoded resources resolution the resource cache must be empty when the attacker has access to the application When all the conditions above are met, the attacker can send malicious requests and poison the resource cache with resources using the wrong encoding. This can cause a denial of service by breaking the front-end application for clients.

    Recommended action: Upgrade to 7.0.7 or 6.2.18 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 5.3MavenPublished

    Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources

    CVE-2026-22745 · GHSA-6p4f-wcwh-5vvm

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0, <= 7.0.6; >= 6.2.0, <= 6.2.17; >= 6.1.0, <= 6.1.26; <= 5.3.47
    Fixed in
    7.0.76.2.18· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources. More precisely, an application can be vulnerable when all the following are true: the application is using Spring MVC or Spring WebFlux the application is serving static resources from the file system the application is running on a Windows platform When all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application.

    Recommended action: Upgrade to 7.0.7 or 6.2.18 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Medium, CVSS 5.9MavenPublished

    Spring Framework Improper Path Limitation with Script View Templates

    CVE-2026-22737 · GHSA-4773-3jfm-qmx3

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0-M1, < 7.0.6; >= 6.2.0, < 6.2.17; >= 6.0.0, <= 6.1.21; >= 5.3.0, <= 5.3.39
    Fixed in
    6.2.177.0.6· Partial vendor fix
    Issue
    Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

    Recommended action: Upgrade to 7.0.6 or 6.2.17 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. Low, CVSS 2.6MavenPublished

    Spring MVC and WebFlux has Server Sent Event stream corruption

    CVE-2026-22735 · GHSA-6hcq-hmm3-jj3c

    Affected
    • Maven org.springframework:spring-webmvc >= 7.0.0-M1, < 7.0.6; >= 6.2.0, < 6.2.17; >= 6.0.0, <= 6.1.21; >= 5.3.0, <= 5.3.39
    Fixed in
    6.2.177.0.6· Partial vendor fix
    Issue
    Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE). This issue affects Spring Foundation: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

    Recommended action: Upgrade to 7.0.6 or 6.2.17 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. Medium, CVSS 5.9MavenPublished

    Spring Framework MVC Applications Path Traversal Vulnerability

    CVE-2025-41242 · GHSA-r936-gwx5-v52f

    Affected
    • Maven org.springframework:spring-webmvc >= 6.2.0, < 6.2.10; >= 6.1.0, <= 6.1.21; >= 6.0.0, <= 6.0.29; >= 5.3.0, <= 5.3.43
    Fixed in
    6.2.10· Partial vendor fix
    Issue
    Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container. An application can be vulnerable when all the following are true: the application is deployed as a WAR or with an embedded Servlet container the Servlet container does not reject suspicious sequences https://jakarta.ee/specifications/servlet/6.1/jakarta-servlet-spec-6.1.html#uri-path-canonicalization the application serves static resources https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title with Spring resource handling We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.

    Recommended action: Upgrade to 6.2.10; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. High, CVSS 7.5MavenPublished

    Spring Framework Path Traversal vulnerability

    CVE-2024-38819 · GHSA-g5vr-rgqm-vf78

    Affected
    • Maven org.springframework:spring-webmvc >= 6.1.0, < 6.1.14; <= 5.3.40; >= 6.0.0, <= 6.0.24
    Fixed in
    6.1.14· Partial vendor fix
    Issue
    Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

    Recommended action: Upgrade to 6.1.14; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. Medium, CVSS 5.3MavenPublished

    Spring MVC controller vulnerable to a DoS attack

    CVE-2024-38828 · GHSA-w3c8-7r8f-9jp8

    Affected
    • Maven org.springframework:spring-webmvc >= 5.3.0, < 5.3.42
    Fixed in
    5.3.42· Vendor fix available
    Issue
    Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.

    Recommended action: Upgrade to 5.3.42 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  17. High, CVSS 7.5MavenPublished

    Path traversal vulnerability in functional web frameworks

    CVE-2024-38816 · GHSA-cx7f-g6mp-7hqm

    Affected
    • Maven org.springframework:spring-webmvc >= 6.1.0, < 6.1.13; >= 6.0.0, <= 6.0.23; >= 5.3.0, <= 5.3.39
    Fixed in
    6.1.13· Partial vendor fix
    Issue
    Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: the web application uses RouterFunctions to serve static resources resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use the application runs on Tomcat or Jetty

    Recommended action: Upgrade to 6.1.13; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  18. High, CVSS 7.5MavenPublished

    Spring Framework vulnerable to denial of service

    CVE-2023-34053 · GHSA-v94h-hvhg-mf9h

    Affected
    • Maven org.springframework:spring-webmvc >= 6.0.0, < 6.0.14
    Fixed in
    6.0.14· Vendor fix available
    Issue
    In Spring Framework versions 6.0.0 - 6.0.13, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. Specifically, an application is vulnerable when all of the following are true: the application uses Spring MVC or Spring WebFlux io.micrometer:micrometer-core is on the classpath an ObservationRegistry is configured in the application to record observations Typically, Spring Boot applications need the org.springframework.boot:spring-boot-actuator dependency to meet all conditions.

    Recommended action: Upgrade to 6.0.14 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  19. Critical, CVSS 9.1MavenPublished

    Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

    CVE-2023-20860 · GHSA-7phw-cxx7-q9vq

    Affected
    • Maven org.springframework:spring-webmvc >= 6.0.0, < 6.0.7; >= 5.3.0, < 5.3.26
    Fixed in
    6.0.75.3.26· Vendor fix available
    Issue
    Spring Framework running version 6.0.0 - 6.0.6 or 5.3.0 - 5.3.25 using "" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.

    Recommended action: Upgrade to 6.0.7 or 5.3.26 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  20. UnratedMavenPublished

    Improper Neutralization of Input During Web Page Generation in Spring Framework

    CVE-2014-1904 · GHSA-ff7p-jqjm-v66h

    Affected
    • Maven org.springframework:spring-webmvc >= 3.0.0, <= 3.2.7.RELEASE; >= 4.0.0, <= 4.0.1.RELEASE
    Fixed in
    3.2.8.RELEASE4.0.2.RELEASE· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in web/servlet/tags/form/FormTag.java in Spring MVC in Spring Framework 3.0.0 before 3.2.8 and 4.0.0 before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via the requested URI in a default action.

    Recommended action: Upgrade to 4.0.2.RELEASE or 3.2.8.RELEASE by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  21. High, CVSS 8.8MavenPublished

    Improper Restriction of XML External Entity Reference in Spring Framework

    CVE-2014-0225 · GHSA-f93f-g33r-8pcp

    Affected
    • Maven org.springframework:spring-webmvc >= 4.0.0, < 4.0.5; >= 3.0.0, < 3.2.8
    Fixed in
    3.2.84.0.5· Vendor fix available
    Issue
    When processing user provided XML documents, the Spring Framework 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, and possibly earlier unsupported versions did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.

    Recommended action: Upgrade to 4.0.5 or 3.2.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  22. UnratedMavenPublished

    Improper Limitation of a Pathname to a Restricted Directory in Spring Framework

    CVE-2014-3625 · GHSA-hhm4-hwq6-3c6w

    Affected
    • Maven org.springframework:spring-webmvc >= 3.0.4, < 3.2.12; >= 4.0.0, < 4.0.8; >= 4.1.0, < 4.1.2
    Fixed in
    4.0.84.1.23.2.12· Vendor fix available
    Issue
    Directory traversal vulnerability in Pivotal Spring Framework 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 allows remote attackers to read arbitrary files via unspecified vectors, related to static resource handling.

    Recommended action: Upgrade to 4.1.2, 4.0.8 or 3.2.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  23. UnratedMavenPublished

    Cross-Site Request Forgery in Spring Framework

    CVE-2014-0054 · GHSA-8cmm-qj8g-fcp6

    Affected
    • Maven org.springframework:spring-webmvc < 3.2.8; >= 4.0.0, < 4.0.2
    Fixed in
    4.0.23.2.8· Vendor fix available
    Issue
    The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.

    Recommended action: Upgrade to 4.0.2 or 3.2.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  24. Critical, CVSS 9.8Exploited · CISA KEVMavenPublished

    Remote Code Execution in Spring Framework

    CVE-2022-22965 · GHSA-36p3-wjmg-h94x

    Affected
    • Maven org.springframework:spring-webmvc >= 5.3.0, < 5.3.18; < 5.2.20.RELEASE
    Fixed in
    5.3.185.2.20.RELEASE· Vendor fix available
    Issue
    Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as Spring4Shell. Impact 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. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. These are the prerequisites for the exploit: - JDK 9 or higher - Apache Tomcat as the Servlet container - Packaged as WAR - spring-webmvc or spring-webflux dependency Patches - Spring Framework 5.3.18 and 5.2.20 - Spring Boot 2.6.6 and 2.5.12 Workarounds For those who are unable to upgrade, leaked reports recommend setting disallowedFields on WebDataBinder through an @ControllerAdvice. This works generally, but as a centrally…

    Recommended action: Upgrade to 5.3.18 or 5.2.20.RELEASE by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:cisa.gov (1)github.com (2)Source checked Evidence →
  25. Medium, CVSS 5.3MavenPublished

    CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux

    CVE-2020-5397 · GHSA-7pm4-g2qj-j85x

    Affected
    • Maven org.springframework:spring-webmvc >= 5.2.0, < 5.2.3
    Fixed in
    5.2.3· Vendor fix available
    Issue
    Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.

    Recommended action: Upgrade to 5.2.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →