GitHub Advisoryadvisory · PyPI

GHSA-qpg2-vx7j-3869 XML Injection in ReportLab

CRITICAL Published 2022-05-24 Modified 2024-10-26 Official page ↗
Aliases
CVE-2019-17626
Ecosystem
PyPI
Packages
reportlab
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-91
Reviewed
2022-06-27

Affected packages

• PyPI reportlab: < 3.5.28 → fixed in 3.5.28

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.

Related

Alias · CVE (1)

  • CVE-2019-17626 ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document… vulnerability

Weakness · CWE (1)

  • CWE-91 XML Injection weakness

References