-
Couldn't load subscription status.
- Fork 38.8k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement
Milestone
Description
Meyyalagan Chandrasekaran opened SPR-16798 and commented
MappingJacksonJsonView class started supporting JSONP callback by default which can make applications vulnerable to JSONP Hijacking when developers upgrade their application to Spring 4.1 without realizing JSONP support coming with upgrade.
It would be helpful if we can avoid cross-domain requests by default unless developers wanted to turn it on explicitly.
Reference URL: #12994
Issue Links:
- Support JSON-P Callback parameters in MappingJacksonJsonView [SPR-8346] #12994 Support JSON-P Callback parameters in MappingJacksonJsonView
- Remove JSONP support [SPR-16914] #21453 Remove JSONP support
Referenced from: commits 8748594, b80c13b
Backported to: 4.3.18
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement