id: PYSEC-2026-2203 published: "2026-03-18T22:16:24.670Z" modified: "2026-07-13T05:49:54.674603Z" aliases: - CVE-2026-32722 - GHSA-r5pr-887v-m2w9 details: 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: - package: name: memray ecosystem: PyPI purl: pkg:pypi/memray ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 1.19.2 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 ecosystem_specific: {} references: - type: ADVISORY url: https://github.com/bloomberg/memray/releases/tag/v1.19.2 - type: FIX url: https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 - type: EVIDENCE url: https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N