PyPA Advisory Database
PYSEC-2026-2056
xhtml2pdf Denial of Service via crafted string
Details
An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression Denial of Service (ReDOS) via supplying a crafted string.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | xhtml2pdf | All versions up to and including 0.2.16 |