ADVISORIES

Vulnerability

CVE-2018-11040

Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. Both are not enabled by default in Spring Framework nor Spring Boot, however, when MappingJackson2JsonView is configured in an application, JSONP support is automatically ready to use through the "jsonp" and "callback" JSONP parameters, enabling cross-domain requests.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 2Maven 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2018-11040

    Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through…

    CVE-2018-11040 Debian Updated 9 October 2026
  • DLA-2635-1

    libspring-java - security update

    CVE-2018-11039CVE-2018-11040CVE-2018-1270CVE-2018-15756 Debian Updated 20 November 2026
  • GHSA-f26x-pr96-vw86

    Moderate severity vulnerability that affects org.springframework:spring-core

    Moderate CVE-2018-11040 Maven Updated 15 May 2024
  • UBUNTU-CVE-2018-11040

    Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through…

    CVE-2018-11040 Ubuntu Updated 8 September 2025

References