CVE-2026-32722 json
Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
published 2026-03-16 7 mo ago modified 2026-07-13 3 mo ago also GHSA-r5pr-887v-m2w9 , PYSEC-2026-2203 , EUVD-2026-12970
- cvss
- 3.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi memray 1.19.2
- bloomberg memray 1.19.2
- python-memray Debian 13 1.17.0+dfsg-1+deb13u1
- python-memray Debian 14 1.19.3+dfsg-1
debian advisories DEBIAN-CVE-2026-32722
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-32722 updated cvss 3.6
bloomberg.github.io/memray: Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 3.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | memray | <1.19.2 |
1.19.2 |
Affected products
- bloomberg memray
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249
web, patch
-
github.com
/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9
web, exploit, vendor-advisory, evidence
-
github.com
/bloomberg/memray/releases/tag/v1.19.2
web, product, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-32722
advisory
-
github.com
/bloomberg/memray
package
Sources
- CVE List CVE-2026-32722
- GitHub Advisory GHSA-r5pr-887v-m2w9
- NVD CVE-2026-32722
- OSV PYSEC-2026-2203
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.