Vulnerability · Published Sep 3, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity information exposure in note-mark from enchant97. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 63.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/enchant97/note-mark/backend0.0.0-20260601210758-9c9b72740f22GHSA-588f-fvcv-xhvf
Gogithub.com/enchant97/note-mark/backend0.0.0-20260601210758-9c9b72740f22GO-2026-5948

Affected products (as reported)

VendorProductVersions
enchant97 note-mark < 0.19.5

Weakness: CWE-200, CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References