Description
ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.
References (14)
Scores
CVSS v3
9.8
EPSS
0.1684
EPSS Percentile
95.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-91
Status
published
Products (2)
pypi/reportlab
0 - 3.5.28PyPI
reportlab/reportlab
< 3.5.26
Published
Oct 16, 2019
Tracked Since
Feb 18, 2026