Daptin fixes access-control flaw in default branch of YJS endpoint
- Daptin
- YJS
- IDOR
- WebSocket
- authorization

Vulnerability allowed unauthorized modification of file-typed columns
Issue affected Daptin versions 0.11.4 through 0.12.29
A release containing the fix had not yet been published
Daptin fixed a broken access control flaw in its generic WebSocket endpoint for YJS collaborative documents. The source does not give a date for the fix, which it says was made on the project’s default branch.
The flaw affected the GET /yjs/:documentName endpoint. It checked only that a user had a session, not whether they had permission to access the requested row. As a result, any authenticated user could read or edit content in file-typed columns across tables, including administrator-only tables, if the deployment had at least one such column.
Daptin’s fix adds row lookups and existing read and update permission checks to the affected route. The advisory lists versions from 0.11.4 up to, but not including, 0.12.30 as affected and 0.12.30 as patched; it also says a release containing the fix had not yet been published.
Key terms explained
- Broken Access Control
Broken access control occurs when a system fails to properly restrict user actions to their authorized permissions. This can allow unauthorized individuals to view, modify, or delete sensitive data.
Think of it this way. It is like a building where the front door lock is broken, allowing anyone to walk into restricted offices instead of just the lobby.
- YJS
Yjs is a framework designed to synchronize data across multiple users in real-time. It is commonly used to enable collaborative editing features in software applications.
- Daptin
Daptin is an open-source server platform used for managing content, workflows, and site data through APIs. It provides tools for user authentication and authorization control.




