Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9d2df6

Browse files
J7mboweaverryan
authored andcommitted
Back-porting change from 2.3 (should have been patched into 2.2 originally)
Updated XSSI Json Hijacking CautionOnly methods that respond to GET requests are vulnerable to XSSI 'JSON Hijacking'. POST requests remain unaffected.(cherry picked from commitb845591)
1 parentf470441 commite9d2df6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎components/http_foundation/introduction.rst‎

Lines changed: 4 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp