XSS in Bloomberg Memray
CVE-2026-32722
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.6 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 29.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Bloomberg Memray — versions < 1.19.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- 0xmrma/CVE-2026-32722 (1 star, last pushed 2026-04-02): Bloomberg Memray’s Stored XSS via Unescaped Command-Line Metadata
References
- https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 (Exploit, Vendor Advisory)
- https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 (Patch)
- https://github.com/bloomberg/memray/releases/tag/v1.19.2 (Product, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.