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.
Severity (CVSS)
| Base score | 2.5 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| earendil-works | pi | >= 0.74.0, < 0.78.1 |
References
- https://github.com/earendil-works/pi/security/advisories/GHSA-7v5m-pr3q-6453 (x_refsource_CONFIRM)
- https://github.com/earendil-works/pi/commit/6cb23f9b5d5b6d1747672f535b167d0d809ac010 (x_refsource_MISC)
- https://github.com/earendil-works/pi/releases/tag/v0.78.1 (x_refsource_MISC)
Generated from the official CVE List on 24 Jun 2026 09:35 UTC.