PYSEC-2026-2203

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/memray/PYSEC-2026-2203.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2203
Aliases
Published
2026-03-18T22:16:24.670Z
Modified
2026-07-13T07:15:28.802687715Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

PyPI / memray

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.19.2

Affected versions

1.*
1.0.0
1.0.2
1.0.3
1.1.0
1.2.0
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0
1.6.0
1.7.0
1.8.0
1.8.1
1.9.0
1.9.1
1.10.0
1.11.0
1.12.0
1.13.0
1.13.1
1.13.2
1.13.3
1.13.4
1.14.0
1.15.0
1.16.0
1.17.0
1.17.1
1.17.2
1.18.0
1.19.0
1.19.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/memray/PYSEC-2026-2203.yaml"