{"id":"CVE-2019-17626","aliases":["GHSA-qpg2-vx7j-3869","PYSEC-2019-117"],"url":"https://o3.security/vulnerability/CVE-2019-17626","summary":"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.","published":"2019-10-16T12:15:12.010Z","modified":"2026-10-05T10:26:50.042863070Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.10231,"percentile":0.95387,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"reportlab","fixedVersion":"3.5.28"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/"},{"type":"WEB","url":"https://usn.ubuntu.com/4273-1/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0230"},{"type":"ADVISORY","url":"https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202007-35"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240719-0006/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4663"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0195"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0201"},{"type":"REPORT","url":"https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17626"},{"type":"WEB","url":"https://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code"},{"type":"WEB","url":"https://usn.ubuntu.com/4273-1"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240719-0006"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM"},{"type":"WEB","url":"https://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qpg2-vx7j-3869"},{"type":"PACKAGE","url":"https://github.com/MrBitBucket/reportlab-mirror"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2019-17626"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-05T10:26:50.042863070Z"}}