{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54326","id":"CVE-2026-54326","title":"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","descriptionLong":"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.","published":"2026-06-23T19:26:35.875Z","updated":"2026-10-28T02:31:00.348218923Z","reserved":"2026-06-12T18:42:02.224Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["earendil-works pi"],"affectedProducts":[{"vendor":"earendil-works","product":"pi","defaultStatus":null,"versions":[{"version":">= 0.74.0, < 0.78.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@mariozechner/pi-coding-agent","purl":"pkg:npm/%40mariozechner/pi-coding-agent","ranges":[">=0.27.5 <=0.73.1"],"fixed":[],"advisory":"GHSA-7v5m-pr3q-6453"},{"ecosystem":"npm","name":"@earendil-works/pi-coding-agent","purl":"pkg:npm/%40earendil-works/pi-coding-agent","ranges":[">=0.74.0 <0.78.1"],"fixed":["0.78.1"],"advisory":"GHSA-7v5m-pr3q-6453"}],"cwes":["CWE-79"],"aliases":["GHSA-7v5m-pr3q-6453"],"references":[{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-7v5m-pr3q-6453","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/earendil-works/pi/commit/6cb23f9b5d5b6d1747672f535b167d0d809ac010","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54326.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54326","tags":["advisory"]},{"url":"https://github.com/earendil-works/pi","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00172,"epssPercentile":0.06819,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54326","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54326","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54326","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7v5m-pr3q-6453","ok":true,"note":"GHSA-7v5m-pr3q-6453"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54326","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}