Skip to main content
EPSS 0.2%top 84%

Backend: Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books (CVE-2026-50554)

0
Medium
Published: 09/03/2026 (09/03/2026, 15:26:42 UTC)
Source: GCVE Database
Product: github.com/enchant97/note-mark/backend

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected software

Goghsa
github.com/enchant97/note-mark/backend
Affected versions
<0.0.0-20260601210758-9c9b72740f22

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

AILast updated: 09/07/2026, 11:06:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses