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.
{ "nvd_published_at": "2018-06-25T15:29:00Z", "cwe_ids": [ "CWE-829" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:33:24Z" }