CVE-2026-54326
Pi: Potential XSS in HTML session exports via Markdown URL sanitization bypass
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.
INFO
Published Date :
June 23, 2026, 8:16 p.m.
Last Modified :
Oct. 25, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Update Pi to version 0.78.1.
- Review and sanitize all Markdown inputs.
- Implement strict URL scheme validation.
- Test the updated application thoroughly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-54326.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-54326 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-54326
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-54326 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-54326 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: pi de earendil-works, Description: Pi es un arnés de codificación de terminal minimalista. Desde la versión 0.74.0 hasta la 0.78.1, las exportaciones HTML de Pi renderizan el Markdown de la sesión en un archivo HTML estático. No rechazaba consistentemente los esquemas de URL de enlaces e imágenes de Markdown inseguros. En versiones con filtrado de esquemas, los caracteres de control C0 en el esquema de URL podrían eludir la verificación porque los navegadores normalizan esos caracteres antes de la navegación. Esta vulnerabilidad está corregida en la versión 0.78.1. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 24, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-54326', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-24T13:09:02.637895Z'} -
New CVE Received by [email protected]
Jun. 23, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'earendil-works', 'product': 'pi', 'versions': [{'status': 'affected', 'version': '>= 0.74.0, < 0.78.1'}]}] Added 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. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N Added CWE CWE-79 Added Reference https://github.com/earendil-works/pi/commit/6cb23f9b5d5b6d1747672f535b167d0d809ac010 Added Reference https://github.com/earendil-works/pi/releases/tag/v0.78.1 Added Reference https://github.com/earendil-works/pi/security/advisories/GHSA-7v5m-pr3q-6453