Advisory

GHSA-pj98-2xf6-cff5

Also known as: CVE-2019-19450, PYSEC-2026-522

Summary

ReportLab vulnerable to remote code execution via paraparser

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-09-20 15:30 UTC
Modified
2026-11-16 16:30 UTC

Affected packages and fixes

reportlab

PyPI · All systems

Affected

  • introduced 0, fixed 3.5.31 (ecosystem)

Fixed versions

3.5.31

Fix

  • Fixed version 3.5.31
    pip install --upgrade reportlab==3.5.31

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences