Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-web
  4. ›
  5. CVE-2018-11040

CVE-2018-11040: Inclusion of Functionality from Untrusted Control Sphere

June 25, 2018 (updated October 3, 2019)

Spring Framework 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-11040
  • pivotal.io/security/cve-2018-11040

Code Behaviors & Features

Detect and mitigate CVE-2018-11040 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0.RELEASE before 4.3.18.RELEASE, all versions starting from 5.0.0.RELEASE before 5.0.7.RELEASE

Fixed versions

  • 4.3.18.RELEASE
  • 5.0.7.RELEASE

Solution

Upgrade to versions 4.3.18.RELEASE, 5.0.7.RELEASE or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

maven/org.springframework/spring-web/CVE-2018-11040.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.