Description
Papermerge Core through 3.5.3 contains a missing authorization vulnerability that allows authenticated users to manipulate other users' pages because page management and OCR endpoints skip has_node_perm checks. Attackers knowing page UUIDs can call /pages/, /pages/move, or /pages/extract to rotate, delete, or extract victims' pages, and trigger OCR via /tasks/ocr.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| papermerge | papermerge-core | ≤ 3.5.3 | — |
References
- https://github.com/papermerge/papermerge-core/issues/1290 issue-tracking
- https://github.com/papermerge/papermerge-core/blob/3.5.3/papermerge/core/features/document/router_pages.py#L29-L131 technical-description
- https://github.com/papermerge/papermerge-core/blob/3.5.3/papermerge/core/features/tasks/router.py#L17-L35 technical-description
- https://github.com/papermerge/papermerge-core/commit/6ad2836dc40b61bd032146013272036bbece6144 patch
- VulnCheck Advisory: Papermerge Core through 3.5.3 Missing Authorization in Page Management and OCR Endpoints third-party-advisory