Skip to content

Commit e9d2df6

Browse files
J7mboweaverryan
authored andcommitted
Back-porting change from 2.3 (should have been patched into 2.2 originally)
Updated XSSI Json Hijacking Caution Only methods that respond to GET requests are vulnerable to XSSI 'JSON Hijacking'. POST requests remain unaffected. (cherry picked from commit b845591)
1 parent f470441 commit e9d2df6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/http_foundation/introduction.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,10 @@ to ``application/json``.
506506
as the outer-most array to ``JsonResponse`` and not an indexed array so
507507
that the final result is an object (e.g. ``{"object": "not inside an array"}``)
508508
instead of an array (e.g. ``[{"object": "inside an array"}]``). Read
509-
the `OWASP guidelines`_ for more information.
509+
the `OWASP guidelines`_ for more information.
510+
511+
Only methods that respond to GET requests are vulnerable to XSSI 'JSON Hijacking'.
512+
Methods responding to POST requests only remain unaffected.
510513

511514
JSONP Callback
512515
~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)