{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-32722","id":"CVE-2026-32722","title":"Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata","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 ","descriptionLong":"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.","published":"2026-03-18T21:25:21.495Z","updated":"2026-10-28T02:30:55.013312108Z","reserved":"2026-03-13T15:02:00.625Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"low","products":["bloomberg memray"],"affectedProducts":[{"vendor":"bloomberg","product":"memray","defaultStatus":null,"versions":[{"version":"< 1.19.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"memray","purl":"pkg:pypi/memray","ranges":["<1.19.2"],"fixed":["1.19.2"],"advisory":"GHSA-r5pr-887v-m2w9"}],"cwes":["CWE-79"],"aliases":["GHSA-r5pr-887v-m2w9","PYSEC-2026-2203"],"references":[{"url":"https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web","evidence"]},{"url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/bloomberg/memray/releases/tag/v1.19.2","tags":["x_refsource_MISC","Product","Release Notes","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32722.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32722","tags":["advisory"]},{"url":"https://github.com/bloomberg/memray","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00352,"epssPercentile":0.29521,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-32722","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32722","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-32722","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r5pr-887v-m2w9","ok":true,"note":"GHSA-r5pr-887v-m2w9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32722","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}