cve.bz

CVE-2018-11040

7.5 highEPSS 3.2%Fix available

High (7.5). EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-core 4.3.18.RELEASE, 5.0.7.RELEASE.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-11040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-11040?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-11040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-11040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2018-11040

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2018-11040](https://cve.bz/cve/badge/CVE-2018-11040.svg)](https://cve.bz/cve/CVE-2018-11040)

HTML:

<a href="https://cve.bz/cve/CVE-2018-11040"><img src="https://cve.bz/cve/badge/CVE-2018-11040.svg" alt="CVE-2018-11040"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Pivotal Spring Frameworkfrom 5.0.x before 5.0.7
Pivotal Spring Frameworkfrom 4.3.x before 4.3.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f26x-pr96-vw86Mavenorg.springframework:spring-core>=5.0.0.RELEASE <5.0.7.RELEASE5.0.7.RELEASE
GHSA-f26x-pr96-vw86Mavenorg.springframework:spring-core>=4.3.0.RELEASE <4.3.18.RELEASE4.3.18.RELEASE

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libspring-java4.3.5-1+deb9u1DLA-2635-1
Debian12, 13, 14libspring-java4.3.19-1DEBIAN-CVE-2018-11040
UbuntuPro:14.04:LTS, Pro:16.04:LTSlibspring-javano fix listedUBUNTU-CVE-2018-11040

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

From an OpenDaylight perspective, whilst the shipped versions of Open Dayight ship artifacts which fall within the affected versions ("older unsupported versions"), this flaw only has impact when JSONP is used in certain circumstances. Given the libraries themselves are not used in a vulnerable way, being only used as part of tests, no package update to mitigate this flaw for Open Daylight is required.

The package rhevm-dependencies does not include the spring-webmvc component, where this vulnerability exists.

Red Hat's mitigation

According to the upstream advisory, this vulnerability only applies to applications that do all of the following:

* Explicitly configure MappingJackson2JsonView.

* Do not set the jsonpParameterNames property of MappingJackson2JsonView to an empty set.

* Expose sensitive user information over endpoints that can render content with JSONP.

ProductPackageStateAdvisory
Red Hat Fuse 7springframeworkNot affected
Red Hat JBoss BRMS 5springframeworkOut of support scope
Red Hat JBoss Data Virtualization 6springframeworkOut of support scope
Red Hat JBoss Fuse 6springframeworkOut of support scope
Red Hat JBoss Fuse Service Works 6springframeworkOut of support scope
Red Hat JBoss SOA Platform 5springframeworkOut of support scope
Red Hat OpenStack Platform 10 (Newton)opendaylightWill not fix
Red Hat OpenStack Platform 11 (Ocata)opendaylightWill not fix
Red Hat OpenStack Platform 12 (Pike)opendaylightWill not fix
Red Hat OpenStack Platform 13 (Queens)opendaylightWill not fix
Red Hat OpenStack Platform 9 (Mitaka)opendaylightWill not fix
Red Hat Storage 3rhevm-dependenciesNot affected
Red Hat Virtualization 4rhvm-dependenciesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-11040.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON