ADVISORIES

GitHub Advisory Database

GHSA-qpg2-vx7j-3869

XML Injection in ReportLab

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIreportlab
All versions before 3.5.28 (fixed in 3.5.28)

References