Skip to main content
EPSS 0.6%top 51%

CVE-2024-25885: n/a

0
High
VulnerabilityCVE-2024-25885cvecve-2024-25885
Published: 10/08/2024 (10/08/2024, 00:00:00 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

xhtml2pdf
pkg:pypi/xhtml2pdf
Affected versions
=0.2.13

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/05/2026, 21:12:40 UTC

Technical Analysis

CVE-2024-25885 is a vulnerability in xhtml2pdf version 0.2.13 where the getcolor function in utils.py improperly handles input to a regular expression, enabling an attacker to cause a Regular expression Denial of Service (ReDoS) by providing a specially crafted string. This results in excessive CPU consumption and potential service unavailability. The vulnerability is remotely exploitable without authentication and requires no user interaction.

Potential Impact

The vulnerability impacts availability by enabling an attacker to cause a denial of service condition through resource exhaustion. There is no impact on confidentiality or integrity. The attack vector is network-based, requiring no privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available for xhtml2pdf version 0.2.13. Users should monitor vendor communications for updates and consider applying any forthcoming patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-02-12T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d73b7ef31ef0b572405

Added to database: 02/25/2026, 21:45:23 UTC

Last enriched: 07/05/2026, 21:12:40 UTC

Last updated: 09/10/2026, 19:24:53 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses