Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/k1LoW/mo
  4. ›
  5. GHSA-vccx-p757-pv6h

GHSA-vccx-p757-pv6h: mo has a XSS via inline SVG script tags in Markdown rendering

March 18, 2026

When rendering Markdown files containing inline SVG elements with <script> tags, the embedded JavaScript is executed in the browser. This is due to rehype-raw passing raw HTML (including SVG) through to the DOM without sanitization.

References

  • github.com/advisories/GHSA-vccx-p757-pv6h
  • github.com/k1LoW/mo
  • github.com/k1LoW/mo/security/advisories/GHSA-vccx-p757-pv6h

Code Behaviors & Features

Detect and mitigate GHSA-vccx-p757-pv6h 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 0.18.5

Fixed versions

  • 0.18.5

Solution

Upgrade to version 0.18.5 or above.

Impact 3.1 LOW

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/k1LoW/mo/GHSA-vccx-p757-pv6h.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:17:47 +0000.