Description
VanBlog through 0.54.0 contains an information disclosure vulnerability that allows unauthenticated attackers to read private and hidden articles via the POST /api/public/article/:id endpoint. Attackers can submit any non-empty password for private articles lacking an effective password, or request hidden articles, since getByIdWithPassword never checks the hidden flag, exposing full article content.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mereithhh | vanblog | ≤ 0.54.0 | — |
References
- GitHub Issue #611 issue-tracking
- https://github.com/Mereithhh/vanblog product
- https://github.com/Mereithhh/vanblog/blob/8eb670b88e05572fd3c6039a89759abb6745dcab/packages/server/src/provider/article/article.provider.ts#L751-L780 technical-description
- https://github.com/Mereithhh/vanblog/commit/81b868f4d568c8accff62b9c35d0e556d1e7970d patch
- VulnCheck Advisory: VanBlog through 0.54.0 Private Article Disclosure via Public Password Endpoint third-party-advisory