CVE-2026-54326 PUBLISHED

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

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 23.06.2026 Updated: 24.06.2026

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.

Metrics

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

Product Status

Vendor earendil-works
Product pi
Versions
  • Version >= 0.74.0, < 0.78.1 is affected

References

Problem Types

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