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.
"https://github.com/pypa/advisory-database/blob/main/vulns/reportlab/PYSEC-2019-117.yaml"