Skip to content
OpenAdvisories
Low · 2.5 CVE-2026-54326 EUVD-2026-38581GHSA-7v5m-pr3q-6453

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

Published Jun 23, 2026 · Updated Jun 24, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
earendil-works pi >= 0.74.0, < 0.78.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @earendil-works/pi-coding-agent >= 0.74.0, < 0.78.1 0.78.1 GHSA-7v5m-pr3q-6453
npm @mariozechner/pi-coding-agent >= 0.27.5, <= 0.73.1 — GHSA-7v5m-pr3q-6453

References