CVE-2026-32722

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

State
Published
Severity
3.6 Low
Published
Mar 18, 2026
Updated
Mar 19, 2026
Reserved
Mar 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.6 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
memraybloomberg
  • < 1.19.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.