Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lin-snow/ech0
  4. ›
  5. GHSA-3v85-fqvh-7rxf

GHSA-3v85-fqvh-7rxf: Ech0's RSS feed renders unescaped tag names and raw-HTML markdown, stored XSS against subscribers

May 7, 2026

The public RSS/Atom feed at /rss renders two attacker-controlled surfaces without HTML escaping. Tag names flow through fmt.Appendf(renderedContent, "<br /><span class=\"tag\">#%s</span>", tag.Name) at internal/service/common/common.go:120, and the Markdown renderer at internal/util/md/md.go does not set the html.SkipHTML flag, so raw HTML blocks in echo content pass through unmodified. The resulting Atom <summary type="html"> is valid XML but contains executable <script> tags after the RSS reader decodes it. RSS subscribers whose readers render HTML (including many self-hosted and desktop clients) execute attacker JavaScript in the reader’s origin.

References

  • github.com/advisories/GHSA-3v85-fqvh-7rxf
  • github.com/lin-snow/Ech0/commit/fd320fe3e9021c8d8d284fb274775c018690520e
  • github.com/lin-snow/Ech0/security/advisories/GHSA-3v85-fqvh-7rxf

Code Behaviors & Features

Detect and mitigate GHSA-3v85-fqvh-7rxf 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.20260503035519-fd320fe3e902

Fixed versions

  • 1.4.8-0.20260503035519-fd320fe3e902

Solution

Upgrade to version 1.4.8-0.20260503035519-fd320fe3e902 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/lin-snow/ech0/GHSA-3v85-fqvh-7rxf.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:43 +0000.