CVE-2026-32722
LOW3.6EPSS 0.02%Stored XSS in Memray-generated HTML reports via unescaped command-line metadata
Published: 3/16/2026Modified: 4/28/2026
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.
Affected packages (2)
- Debian/python-memrayfrom 0
- PyPI/memrayfrom 0, < 1.19.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-32722
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-32722
- PATCHhttps://github.com/bloomberg/memray
- WEBhttps://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249
- WEBhttps://github.com/bloomberg/memray/releases/tag/v1.19.2
- WEBhttps://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9