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
security: add sanitization for custom thread element update (#2737)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Sanitizes custom thread element updates and deletes to block unsafe
fields (path/URL) and prevent arbitrary file reads. Adds tests to verify
access control and request forgery protections.
- **Bug Fixes**
- Server: sanitize custom element payloads and build elements from safe
fields only in update/delete handlers.
- Tests: added Cypress specs to confirm injected file paths/URLs aren’t
readable and forged requests don’t expose element data.
- Test fixtures: updated data layer to persist elements and normalize
suspicious URLs.
- Utilities: added a WebSocket listener helper to capture Socket.IO
“element” events in tests.
<sup>Written for commit 9d6f99a.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
0 commit comments