You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the scripts in /sh/ return JSON, but the Content-Type header is being sent as text/html. This will cause XSS issues when attacker-controlled strings in the JSON are interpreted as HTML.
header('Content-Type: application/json; charset=UTF-8'); should be called before echoing anything to prevent this.
The text was updated successfully, but these errors were encountered:
All of the scripts in /sh/ return JSON, but the
Content-Type
header is being sent astext/html
. This will cause XSS issues when attacker-controlled strings in the JSON are interpreted as HTML.header('Content-Type: application/json; charset=UTF-8');
should be called before echoing anything to prevent this.The text was updated successfully, but these errors were encountered: