Untriaged
Permalink
CVE-2026-32722
3.6 LOW
- CVSS version: 3.1
- Attack vector (AV): LOCAL
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): REQUIRED
- Scope (S): CHANGED
- Confidentiality impact (C): LOW
- Integrity impact (I): NONE
- Availability impact (A): NONE
Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
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
- https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 x_refsource_MISC
- https://github.com/bloomberg/memray/releases/tag/v1.19.2 x_refsource_MISC
- https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 x_refsource_CONFIRM
Affected products
memray
- ==< 1.19.2
Matching in nixpkgs
pkgs.memray
Memory profiler for Python
pkgs.python313Packages.memray
Memory profiler for Python
pkgs.python314Packages.memray
Memory profiler for Python
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>