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.
References
| Link | Resource |
|---|---|
| https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 | Patch |
| https://github.com/bloomberg/memray/releases/tag/v1.19.2 | Product Release Notes |
| https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-03-18 22:16
Updated : 2026-03-19 19:21
NVD link : CVE-2026-32722
Mitre link : CVE-2026-32722
CVE.ORG link : CVE-2026-32722
JSON object : View
Products Affected
bloomberg
- memray
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
