---
id: "CVE-2019-19450"
page: "https://infrastack.ai/live/CVE-2019-19450"
kind: "vulnerability"
aliases: ["CVE-2019-19450", "GHSA-pj98-2xf6-cff5"]
title: "ReportLab vulnerable to remote code execution via paraparser"
severity: "critical"
cvss: 9.8
epss: 0.05978
exploited: false
status: "open"
category: "package"
products: [{"name": "reportlab", "fixed": ["3.5.31"], "affected": "< 3.5.31", "ecosystem": "pypi"}, {"name": "reportlab", "fixed": ["3.5.31"], "affected": "< 3.5.31", "ecosystem": "vendor"}, {"name": "debian linux", "fixed": [], "affected": "= 10.0", "ecosystem": "vendor"}]
ecosystems: ["pypi", "vendor"]
tags: ["cwe-91", "package", "pdf-generation", "python", "reportlab"]
not_affected_if: ["no-untrusted-markup", "reportlab-3.5.31-or-later"]
published_at: "2023-09-20T14:15:12+00:00"
first_seen_at: "2026-11-16T16:23:45+00:00"
updated_at: "2026-11-16T16:38:06+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-pj98-2xf6-cff5", "first_seen_at": "2026-11-16T16:23:45+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-19450", "first_seen_at": "2026-11-16T16:38:06+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.05978, "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-19450"}]
---

# ReportLab vulnerable to remote code execution via paraparser

Link for people: https://infrastack.ai/live/CVE-2019-19450 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:reportlab affected < 3.5.31 fixed 3.5.31
- vendor:reportlab affected < 3.5.31 fixed 3.5.31
- vendor:debian linux affected = 10.0 fixed no fixed version listed

## How to check

- Run `pip show reportlab` and check whether the version is below `3.5.31`
- Search requirements files and lock files for `reportlab` to find the pinned version

## Fix

- `reportlab` `3.5.31` or later

## Timeline

- 2026-11-16T16:23:45+00:00 ghsa https://github.com/advisories/GHSA-pj98-2xf6-cff5
- 2026-11-16T16:38:06+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2019-19450

## Documents

- [advisory] Third-party advisory: lists.debian.org https://lists.debian.org/debian-lts-announce/2023/09/msg00037.html
- [advisory] Third-party advisory: pastebin.com https://pastebin.com/5MicRrr4
- [fix] Release notes: github.com https://github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
