ADVISORIES

GitHub Advisory Database

GHSA-jj5c-hhrg-vv5h

xhtml2pdf Denial of Service via crafted string

Moderate No fix available CVE-2024-25885PYSEC-2026-2056

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

EcosystemPackageAffected versions
PyPIxhtml2pdf
All versions up to and including 0.2.16

References