CVE Catalog

CVE-2018-11040

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
3.23%

88th percentile - higher than 88% of all known CVEs

Summary

Spring Framework versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 (and older unsupported versions) allow web applications to enable cross-domain requests via JSONP through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. JSONP is not enabled by default, but when MappingJackson2JsonView is configured, JSONP support is automatically available via the "jsonp" and "callback" parameters.

Risk Assessment

This can lead to unauthorized data access through cross-domain requests, increasing the risk of information leakage or CSRF attacks. Organizations using Spring Framework with JSONP enabled are exposed to data manipulation.

Recommendation

Update Spring Framework to version 5.0.7 or 4.3.18 (or later) and disable JSONP support if not required. Review the configuration of MappingJackson2JsonView and AbstractJsonpResponseBodyAdvice.

Other vulnerabilities in Spring Framework

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS