Remediation Steps
Follow the steps below to remediate this finding on Drupal.
Drupal's Form API adds CSRF tokens automatically to all forms built with the Form API.
Ensure all custom forms extend \Drupal\Core\Form\FormBase and use the standard buildForm/submitForm pattern.
For custom AJAX endpoints, add the '_csrf_token' requirement to the route:
requirements:
_csrf_token: 'TRUE'
For REST endpoints, enable the csrf_token query parameter requirement in your route definition.