REPORTLAB · CVE-2019-19450 · Package
FIX → 3.5.31
ReportLab's paraparser evaluates Python code embedded in a crafted unichar element of an XML document it is given. An attacker who controls that XML can run arbitrary code on the server that renders it.
first public Sep 20, 2023 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that pass user-supplied or otherwise untrusted XML or markup to ReportLab's paraparser, for example to generate PDFs from user input. Systems that only render trusted, fixed templates are much less exposed. unknown whether other ReportLab code paths are affected.
Not affected if no-untrusted-markup, reportlab-3.5.31-or-later
Who cares pdf-generation, python, reportlab
pip show reportlab and check whether the version is below 3.5.31reportlab to find the pinned versionUpgrade to 3.5.31
paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.
This page as ·
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
reportlab 3.5.31 or laterGitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.