CVE-2026-54326
LOW 2.5CVSS 3.1Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass
Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi HTML exports render session Markdown into a static HTML file. It did not consistently reject unsafe Markdown link and image URL schemes. In versions with scheme filtering, C0 control characters in the URL scheme could bypass the check because browsers normalize those characters before navigation. This vulnerability is fixed in 0.78.1.
- Published
- 23 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-7v5m-pr3q-6453
- Sources
- NVDJSONOSV GHSA-7v5m-pr3q-6453JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @mariozechner/pi-coding-agent | >= 0.27.5, <= 0.73.1 | |
| OSV | npm | @earendil-works/pi-coding-agent | >= 0.74.0, < 0.78.1 | 0.78.1 |
References
- https://github.com/earendil-works/pi/commit/6cb23f9b5d5b6d1747672f535b167d0d809ac010 · WEB
- https://github.com/earendil-works/pi/releases/tag/v0.78.1 · WEB
- https://github.com/earendil-works/pi/security/advisories/GHSA-7v5m-pr3q-6453 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54326 · ADVISORY
- https://github.com/earendil-works/pi · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Jun 2026)