CVE-2026-54326: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in earendil-works pi
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.
AI Analysis
Technical Summary
The vulnerability exists in earendil-works pi versions >=0.74.0 and <0.78.1 where the HTML export feature renders session Markdown into static HTML files without consistently rejecting unsafe URL schemes in Markdown links and images. The filtering mechanism was bypassed due to C0 control characters in the URL scheme, which browsers normalize before navigation, leading to potential cross-site scripting (CWE-79). This vulnerability is resolved in version 0.78.1.
Potential Impact
The vulnerability allows low-severity cross-site scripting via unsafe URL schemes in Markdown exports. The CVSS score of 2.5 reflects limited impact with local attack vector, high attack complexity, no privileges required, and user interaction needed. The impact is limited to potential low confidentiality loss without integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in earendil-works pi version 0.78.1. Users should upgrade to version 0.78.1 or later to remediate this issue. Patch status is not explicitly confirmed beyond the stated fix version, so verify with the vendor advisory for the latest remediation guidance.
CVE-2026-54326: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in earendil-works pi
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.
CVSS v3.1
Score 2.5low
Affected software
pkg:github/earendil-works/piRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in earendil-works pi versions >=0.74.0 and <0.78.1 where the HTML export feature renders session Markdown into static HTML files without consistently rejecting unsafe URL schemes in Markdown links and images. The filtering mechanism was bypassed due to C0 control characters in the URL scheme, which browsers normalize before navigation, leading to potential cross-site scripting (CWE-79). This vulnerability is resolved in version 0.78.1.
Potential Impact
The vulnerability allows low-severity cross-site scripting via unsafe URL schemes in Markdown exports. The CVSS score of 2.5 reflects limited impact with local attack vector, high attack complexity, no privileges required, and user interaction needed. The impact is limited to potential low confidentiality loss without integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in earendil-works pi version 0.78.1. Users should upgrade to version 0.78.1 or later to remediate this issue. Patch status is not explicitly confirmed beyond the stated fix version, so verify with the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T18:42:02.224Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3be197eed863c81eeb997b
Added to database: 06/24/2026, 13:54:31 UTC
Last enriched: 06/24/2026, 14:09:42 UTC
Last updated: 06/24/2026, 14:17:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.