Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books in note-mark
Vulnerability 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 Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
信息暴露
Vulnerability Title
Leo Spratt Note Mark 信息泄露漏洞
Vulnerability Description
Leo Spratt Note Mark是Leo Spratt个人开发者开源的一个基于网络的Markdown笔记应用程序。 Leo Spratt Note Mark 0.19.5之前版本存在安全漏洞,该漏洞源于GET /api/books/{bookID}/notes端点接受“deleted”参数,处理?deleted=true请求时使用Unscoped()绕过GORM软删除范围且未正确限制读授权,导致未经身份验证的攻击者可以枚举公共书籍中已软删除笔记的元数据。
CVSS Information
N/A
Vulnerability Type
N/A