All reports
Medium

xhtml2pdf Denial of Service via crafted string

Affected versions

Version ranges need review.

Affected versions
<= 0.2.16
Fixed version
Not reported
Affected versions
<=0.2.16
Fixed version
Not reported

Exploitation

CVE-2024-25885

Probability of exploitation in the next 30 days: 0.64%

FIRST EPSS · 2026-11-22

Description

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.

Links