Low severityNVD Advisory· Published Mar 18, 2026· Updated Mar 19, 2026
Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
CVE-2026-32722
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
memrayPyPI | < 1.19.2 | 1.19.2 |
Affected products
2- bloomberg/memrayv5Range: < 1.19.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-r5pr-887v-m2w9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32722ghsaADVISORY
- github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249ghsax_refsource_MISCWEB
- github.com/bloomberg/memray/releases/tag/v1.19.2ghsax_refsource_MISCWEB
- github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.