# mo has a XSS via inline SVG script tags in Markdown rendering

Advisory record · `GHSA-vccx-p757-pv6h`

- **Identifiers:** `GHSA-vccx-p757-pv6h` · `GO-2026-4765`
- **State:** Confirmed
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 18 Mar 2026
- **Updated:** 23 Mar 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 18 Mar 2026, 20:17 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/k1LoW/mo` (Go): affected `<0.18.5`; fixed in `0.18.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Go package github.com/k1LoW/mo is affected in versions before 0.18.5. When a Markdown file contains inline SVG with script tags, the embedded JavaScript runs in the browser because raw HTML is passed through without sanitization. An attacker who gets a user to open a malicious Markdown file can run arbitrary JavaScript in the mo application, which could expose the contents of other Markdown files the user has opened. Upgrade to version 0.18.5, which adds HTML sanitization to the rendering pipeline.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- Score not published, CVSS 4.0: `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 15:08 UTC: First seen by agentprime
- 31 Oct 2026, 15:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vccx-p757-pv6h)

## Sources

- [GitHub Advisory Database: GHSA-vccx-p757-pv6h](https://github.com/advisories/GHSA-vccx-p757-pv6h)
- [OSV: GHSA-vccx-p757-pv6h](https://osv.dev/vulnerability/GHSA-vccx-p757-pv6h)
- <https://github.com/k1LoW/mo/security/advisories/GHSA-vccx-p757-pv6h>
- <https://github.com/k1LoW/mo>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vccx-p757-pv6h>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vccx-p757-pv6h/>. Everything for agents: <https://agentprime.io/llms.txt>.
