| 7 | | Potentially, as Joe mentioned in slack, `<script>alert('ZOMG Hacking you Hard')</script>` would by default, the way the WP REST API plugin is currently configured, now be "valid" input which would need to then be "sanitized". In its original form, `sanitize_callback()` acted as a fault tolerant white list filter. But because of it being named `sanitize_callback()`, we will now need to move some of that logic into the validation, or provide more robust validation that is not fault tolerant. |
| | 7 | Potentially, as Joe mentioned in slack, `<script>alert('ZOMG Hacking you Hard')</script>` would by default, the way the WP REST API plugin is currently configured, now be "valid" input, which would need to then be "sanitized". In its original form, `sanitize_callback()` acted as a fault tolerant white list filter. But because of it being named `sanitize_callback()`, we will now need to move some of that logic into the validation, or provide more robust validation that is not fault tolerant. |