Hexret

Web Security · Client-side

JSONP

Also known as: JSON with Padding

A legacy data endpoint returns a JavaScript function call instead of plain JSON, often using a caller-supplied callback name. The browser executes it as script. An allowlisted endpoint with a permissive callback parameter can defeat a host-based CSP.

Where you practice it

Related terms