{"id":"CVE-2026-32722","aliases":["GHSA-r5pr-887v-m2w9","PYSEC-2026-2203"],"url":"https://o3.security/vulnerability/CVE-2026-32722","summary":"Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata","details":"Memray is a memory profiler for Python. Prior to Memray 1.19.2, Memray rendered the command line of the tracked process directly into generated HTML reports without escaping. Because there was no escaping, attacker-controlled command line arguments were inserted as raw HTML into the generated report. This allowed JavaScript execution when a victim opened the generated report in a browser. Version 1.19.2 fixes the issue.","published":"2026-03-18T21:25:21.495Z","modified":"2026-08-12T03:51:40.343872656Z","cvss":{"score":3.6,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"memray","fixedVersion":"1.19.2"}],"fix":{"url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249","label":"bloomberg/memray@ba6e4e2"},"references":[{"type":"WEB","url":"https://github.com/bloomberg/memray/releases/tag/v1.19.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32722.json"},{"type":"ADVISORY","url":"https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32722"},{"type":"FIX","url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:40.343872656Z"}}