CVE-2026-54326: Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass
The realistic attack path is indirect. An attacker would need to get suitable Markdown into a session, for example through prompt injection that causes the model to include an unsafe link, or through other untrusted session content. The user would then need to export the session as HTML, open or share that file, and click the link.
If triggered, script runs in the exported document, not in pi or the user’s shell. The main risk is limited disclosure of data embedded in that exported session file.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-54326 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →