{"id":"CVE-2026-32722","published":"2026-03-18T21:25:21Z","modified":"2026-03-19T17:39:50Z","title":"Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata","vendor":"bloomberg","product":"memray","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00352,"percentile":0.2966,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249","tags":["x_refsource_MISC"]},{"url":"https://github.com/bloomberg/memray/releases/tag/v1.19.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":5.93},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.52}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-15","earliestUrl":"https://github.com/0xmrma/CVE-2026-32722","repos":[{"name":"0xmrma/CVE-2026-32722","url":"https://github.com/0xmrma/CVE-2026-32722","stars":1,"created":"2026-03-15"}]},"first":{"date":"2026-03-15","source":"PoC-in-GitHub","url":"https://github.com/0xmrma/CVE-2026-32722"},"provenance":"source"},"vendorSlug":"bloomberg","affectedVersions":[{"vendor":"bloomberg","product":"memray","versions":["< 1.19.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-19T17:28:46.936648Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"memray","vulnerableRanges":["<1.19.2"],"patched":["1.19.2"],"from":["GHSA-r5pr-887v-m2w9","PYSEC-2026-2203"],"provenance":"source"}],"summary":{"text":"Memray, a Python memory profiler from Bloomberg, renders the tracked process's command line unescaped into its generated HTML reports, which is a cross-site scripting flaw in the report output. An attacker who can get a malicious value into the profiled process's command-line arguments can have JavaScript run when a victim opens the generated report in a browser, and this requires user interaction to open the report.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:20Z"},"euvd":{"id":"EUVD-2026-12970","exploited":false,"provenance":"source"}}