CVE-2026-50554
mediumNote Mark is an open-source note-taking application.
Note Mark is an open-source note-taking application. Prior to version 0.19.5, GET /api/books/{bookID}/notes is an unauthenticated endpoint that accepts a "deleted" query parameter. When the request is ?deleted=true, the service runs the query with Unscoped() (bypassing GORM's soft-delete scope) but keeps the read-authorization clause as "owner_id = ? OR is_public = ?". As a result, any unauthenticated caller can enumerate the metadata of soft-deleted ("trashed") notes belonging to any public book — notes the owner explicitly deleted and expected to be removed from public view. This issue has been patched in version 0.19.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/enchant97/note-mark/commit/9c9b72740f22a06131a8f64b53bb08e3b05b81a6 security-advisories@github.com
- https://github.com/enchant97/note-mark/releases/tag/v0.19.5 security-advisories@github.com
- https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf security-advisories@github.com
- https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf 134c704f-9b21-4f2e-91b3-4a467353bcc0
