{"id":"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.","aliases":["GHSA-r5pr-887v-m2w9"],"modified":"2026-04-10T05:43:12.817069Z","published":"2026-03-18T21:25:21.495Z","database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32722.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bloomberg/memray","events":[{"introduced":"0"},{"fixed":"87e7f620583329f548c71f2e455160538b9b9afc"}]}],"versions":["1.0.0","1.10.0","v1.0.3","v1.1.0","v1.10.0","v1.11.0","v1.12.0","v1.13.0","v1.13.1","v1.13.2","v1.13.3","v1.13.4","v1.14.0","v1.15.0","v1.16.0","v1.17.0","v1.17.1","v1.17.2","v1.18.0","v1.19.0","v1.19.1","v1.2.0","v1.3.0","v1.3.1","v1.4.0","v1.4.1","v1.5.0","v1.6.0","v1.7.0","v1.8.0","v1.8.1","v1.9.0","v1.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32722.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"}]}