What’s Vulnerable › Vulnerabilities
CVE-2026-50554: Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books in note-mark
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-03 · updated 2026-09-09
- Weakness: CWE-200
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 products
- enchant97 note-mark: before 0.19.5
References
- https://github.com/enchant97/note-mark/commit/9c9b72740f22a06131a8f64b53bb08e3b05b81a6
- https://github.com/enchant97/note-mark/releases/tag/v0.19.5
- https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf
- https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf
Get alerted when CVE-2026-50554 or the next vulnerability affects your stack