Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-50554 EUVD-2026-70529GHSA-588f-fvcv-xhvfGO-2026-5948

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

Published Sep 3, 2026 · Updated Sep 3, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
enchant97 note-mark < 0.19.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/enchant97/note-mark/backend < 0.0.0-20260601210758-9c9b72740f22 0.0.0-20260601210758-9c9b72740f22 GHSA-588f-fvcv-xhvf

Advisories 1

References