Skip to main content
← All vulnerabilities
CVE-2026-54326GHSA-7V5M-PR3Q-6453

Pi: Potential XSS in HTML session exports via Markdown URL sanitization bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.78.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • earendil-works pi

    From 0.74.0 · fixed in 0.78.1

  • @mariozechner/pi-coding-agentnpm

    From 0.27.5 · through 0.73.1

  • @earendil-works/pi-coding-agentnpm

    From 0.74.0 · fixed in 0.78.1

References 3

GitHub · earendil-works/pi