MEDIUM 5.3
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / xhtml2pdf
Introduced in:
0 No fixed version published yet for xhtml2pdf (pip). Pin to a known-safe version or switch to an alternative.