CVE-2026-32722

LOW

Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-32722. PoCs published by 0xmrma.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-32722, a stored XSS vulnerability in Bloomberg's Memray Python memory profiler. The vulnerability arises from unescaped command-line metadata being rendered into HTML reports, allowing attacker-controlled input to execute JavaScript in the browser.

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.

Exploits (1)

nomisec WRITEUP 1 stars
by 0xmrma · poc
https://github.com/0xmrma/CVE-2026-32722

This repository provides a detailed technical analysis of CVE-2026-32722, a stored XSS vulnerability in Bloomberg's Memray Python memory profiler. The vulnerability arises from unescaped command-line metadata being rendered into HTML reports, allowing attacker-controlled input to execute JavaScript in the browser.

Classification
Writeup 100%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Bloomberg Memray (version not specified)
No auth needed
Prerequisites: Attacker-controlled command-line input · Victim opens generated HTML report in a browser
devstral-2 · analyzed Apr 09, 2026 Full analysis →

Scores

CVSS v3 3.6
EPSS 0.0002
EPSS Percentile 6.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
bloomberg/memray < 1.19.2 (2 CPE variants)
pypi/memray 0 - 1.19.2PyPI
Published Mar 18, 2026
Tracked Since Mar 19, 2026