{"id":"UBUNTU-CVE-2026-32722","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.","modified":"2026-05-20T16:25:21.847893891Z","published":"2026-03-18T22:16:00Z","upstream":["CVE-2026-32722"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-32722"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-32722"},{"type":"REPORT","url":"https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9"},{"type":"REPORT","url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249"},{"type":"REPORT","url":"https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249"},{"type":"REPORT","url":"https://github.com/bloomberg/memray/releases/tag/v1.19.2"}],"affected":[{"package":{"name":"python-memray","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-memray?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0+dfsg-1","1.17.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-memray","binary_version":"1.17.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32722.json"}},{"package":{"name":"python-memray","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-memray?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0+dfsg-1","1.17.0+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-memray","binary_version":"1.17.0+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32722.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}