Closed nadar closed 6 years ago
Every json api response should be preprended by a unparseable cruft.
unparseable cruft
example 1 throw 1; <dont be evil> { foo: bar} example 2 for(;;); { foo: bar }
throw 1; <dont be evil> { foo: bar}
for(;;); { foo: bar }
infos: http://blog.portswigger.net/2016/11/json-hijacking-for-modern-web.html
Issue moved to https://github.com/luyadev/luya-module-admin/issues/93
Every json api response should be preprended by a
unparseable cruft
.example 1
throw 1; <dont be evil> { foo: bar}
example 2for(;;); { foo: bar }
infos: http://blog.portswigger.net/2016/11/json-hijacking-for-modern-web.html