CVE-2026-32722
CVE-2026-32722 · Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.6 · Low · EPSS 0.3% · Fix available
- Published
- Updated
Affected products and versions
memray
- Versions
- < 1.19.2: Affected
No fix published
python-memray Debian:13
- Versions
- 1.17.0+dfsg-1
- Affected ranges
- ECOSYSTEM: < 1.17.0+dfsg-1+deb13u1
Update to 1.17.0+dfsg-1+deb13u1
python-memray Debian:14
- Versions
- 1.17.0+dfsg-1
- Affected ranges
- ECOSYSTEM: < 1.19.3+dfsg-1
Update to 1.19.3+dfsg-1
memray PyPI
- Versions
- 1.0.0
- 1.0.2
- 1.0.3
- 1.1.0
- 1.10.0
- 1.11.0
- 1.12.0
- 1.13.0
- 1.13.1
- 1.13.2
- 1.13.3
- 1.13.4
- 1.14.0
- 1.15.0
- 1.16.0
- 1.17.0
- 1.17.1
- 1.17.2
- 1.18.0
- 1.19.0
- 1.19.1
- 1.2.0
- 1.3.0
- 1.3.1
- 1.4.0
- 1.4.1
- 1.5.0
- 1.6.0
- 1.7.0
- 1.8.0
- 1.8.1
- 1.9.0
- 1.9.1
- Affected ranges
- ECOSYSTEM: < 1.19.2
Update to 1.19.2
python-memray Ubuntu:25.10
- Versions
- 1.15.0+dfsg-1
- 1.17.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-memray Ubuntu:26.10
- Versions
- 1.17.0+dfsg-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-memray Ubuntu:26.04:LTS
- Versions
- 1.17.0+dfsg-1
- 1.17.0+dfsg-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published