Backend: Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books (CVE-2026-50554)
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.
AI Analysis
Technical Summary
The Note Mark backend has an unauthenticated API endpoint GET /api/books/{bookID}/notes that accepts a 'deleted=true' query parameter. When used on public books, this parameter bypasses the soft-delete filter, allowing unauthenticated users to access metadata of soft-deleted (trashed) notes. The exposed metadata includes note ID, title, slug, and timestamps, but not the note content. The root cause is improper authorization logic failing to limit soft-deleted note visibility to the note owner. A code fix involves restricting soft-deleted note listings to the book owner only, preventing public access to trashed notes.
Potential Impact
This vulnerability leads to unauthorized disclosure of metadata for soft-deleted notes in public books to unauthenticated users. Although the note content is not exposed, sensitive metadata such as note identifiers and timestamps may reveal information the note owner intended to keep hidden. There is no impact on data integrity or availability. The CVSS 3.1 base score is 5.3 (medium severity), reflecting low impact on confidentiality and no impact on integrity or availability.
Mitigation Recommendations
A patch is available that restricts access to soft-deleted notes exclusively to the book owner, preventing unauthenticated users from retrieving metadata of trashed notes in public books. Users of the affected Note Mark backend should apply the official fix to enforce proper authorization on the 'deleted=true' query parameter. No additional mitigation is indicated by the vendor advisory.
Backend: Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books (CVE-2026-50554)
Description
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 v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Note Mark backend has an unauthenticated API endpoint GET /api/books/{bookID}/notes that accepts a 'deleted=true' query parameter. When used on public books, this parameter bypasses the soft-delete filter, allowing unauthenticated users to access metadata of soft-deleted (trashed) notes. The exposed metadata includes note ID, title, slug, and timestamps, but not the note content. The root cause is improper authorization logic failing to limit soft-deleted note visibility to the note owner. A code fix involves restricting soft-deleted note listings to the book owner only, preventing public access to trashed notes.
Potential Impact
This vulnerability leads to unauthorized disclosure of metadata for soft-deleted notes in public books to unauthenticated users. Although the note content is not exposed, sensitive metadata such as note identifiers and timestamps may reveal information the note owner intended to keep hidden. There is no impact on data integrity or availability. The CVSS 3.1 base score is 5.3 (medium severity), reflecting low impact on confidentiality and no impact on integrity or availability.
Mitigation Recommendations
A patch is available that restricts access to soft-deleted notes exclusively to the book owner, preventing unauthenticated users from retrieving metadata of trashed notes in public books. Users of the affected Note Mark backend should apply the official fix to enforce proper authorization on the 'deleted=true' query parameter. No additional mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-588f-fvcv-xhvf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50554"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a50bac868715ace435892b8
Added to database: 07/10/2026, 09:26:32 UTC
Last enriched: 09/07/2026, 11:06:26 UTC
Last updated: 09/14/2026, 07:31:27 UTC
Views: 205
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.