Skip to content
Fencer Intel
low 2.5

CVE-2026-54326 json

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

published 5mo ago modified 17d ago also EUVD-2026-38581 , GHSA-7v5m-pr3q-6453

cvss
2.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 6%
public exploits
0
none known

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.

Patch / fix

  • npm @earendil-works/pi-coding-agent 0.78.1

Is CVE-2026-54326 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4mo ago

Exploit prediction

0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
GitHub 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm @mariozechner/pi-coding-agent
>=0.27.5, <=0.73.1
no fix listed
npm @earendil-works/pi-coding-agent
>=0.74.0, <0.78.1
0.78.1

Affected products

  • earendil-works pi

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of earendil-works/pi published their own advisory on GitHub. Reviewed sources take precedence over it.