Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lin-snow/ech0
  4. ›
  5. GHSA-rj4g-rqgh-rx9h

GHSA-rj4g-rqgh-rx9h: Ech0 comment model's Email field returned on public /api/comments endpoints

May 7, 2026

The Comment model serializes its Email field through the public comment-listing API. internal/model/comment/comment.go:33 uses json:"email", while adjacent PII fields (IPHash, UserAgent) correctly use json:"-". The public endpoints GET /api/comments?echo_id=X and GET /api/comments/public?limit=N both live on PublicRouterGroup with no authentication. Alice retrieves every guest commenter’s email address on the instance with a few unauthenticated HTTP calls.

References

  • github.com/advisories/GHSA-rj4g-rqgh-rx9h
  • github.com/lin-snow/Ech0/commit/cb8d7a997dd8f573ef0e22e4e6b23b2b8ee92ebd
  • github.com/lin-snow/Ech0/security/advisories/GHSA-rj4g-rqgh-rx9h

Code Behaviors & Features

Detect and mitigate GHSA-rj4g-rqgh-rx9h with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.8-0.20260503034700-cb8d7a997dd8

Fixed versions

  • 1.4.8-0.20260503034700-cb8d7a997dd8

Solution

Upgrade to version 1.4.8-0.20260503034700-cb8d7a997dd8 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-359: Exposure of Private Personal Information to an Unauthorized Actor

Source file

go/github.com/lin-snow/ech0/GHSA-rj4g-rqgh-rx9h.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:44 +0000.