Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. GHSA-26gq-grmh-6xm6

GHSA-26gq-grmh-6xm6: Gogs vulnerable to Stored XSS via Mermaid diagrams

February 6, 2026

Stored XSS via mermaid diagrams due to usage of vulnerable renderer library

References

  • github.com/advisories/GHSA-26gq-grmh-6xm6
  • github.com/gogs/gogs
  • github.com/gogs/gogs/commit/71a72a72ad1c8cea7940c9d7e4cbdfbc0fc3d401
  • github.com/gogs/gogs/security/advisories/GHSA-26gq-grmh-6xm6
  • github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh
  • github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw

Code Behaviors & Features

Detect and mitigate GHSA-26gq-grmh-6xm6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.13.4

Fixed versions

  • 0.13.4

Solution

Upgrade to version 0.13.4 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1395: Dependency on Vulnerable Third-Party Component
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/gogs.io/gogs/GHSA-26gq-grmh-6xm6.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:09 +0000.