{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "87e7f620583329f548c71f2e455160538b9b9afc"
            }
          ],
          "repo": "https://github.com/bloomberg/memray",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r5pr-887v-m2w9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32722.json"
  },
  "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.",
  "id": "CVE-2026-32722",
  "modified": "2026-04-01T23:10:09.505071505Z",
  "published": "2026-03-18T21:25:21.495Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/bloomberg/memray/releases/tag/v1.19.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32722.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32722"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata"
}