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
Data can not be optained by optional_param or required_param functions, because it goes in a raw body format according to intergation specifications of the external service.
Data is recieved only from the integration server after JWT signature verification and cleaned after by using json_decode.
The same can be found in a core intergation with shibboleth in auth\shibboleth\login.php
Here the file_get_contents used directly without any sanitisation.
moodle-availability_examus2/api.php
Line 62 in 3658279
Kindly use proper cleanup before using any such values. Here is the reference doc - https://moodledev.io/general/development/policies/security#dont-trust-any-input-from-users
The text was updated successfully, but these errors were encountered: