Skip to main content
← All vulnerabilities
CVE-2026-32722GHSA-R5PR-887V-M2W9PYSEC-2026-2203

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.2
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bloomberg memray

    fixed in 1.19.2

  • memrayPyPI

    fixed in 1.19.2

References 4

GitHub · bloomberg/memray

GitHub · 0xmrma/CVE-2026-32722