{"cve":"CVE-2024-25885","nvd":{"published":"2024-10-08T18:15:05.423","modified":"2026-07-05T16:18:46.933","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-25885","score":0.00642,"percentile":0.50771,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jj5c-hhrg-vv5h","url":"https://osv.dev/vulnerability/GHSA-jj5c-hhrg-vv5h","summary":"xhtml2pdf Denial of Service via crafted string","modified":"2026-07-07T17:57:12.822310663Z","packages":[{"ecosystem":"PyPI","name":"xhtml2pdf","purl":"pkg:pypi/xhtml2pdf","ranges":["<=0.2.16"],"fixed":[]}]},{"id":"PYSEC-2026-2056","url":"https://osv.dev/vulnerability/PYSEC-2026-2056","summary":"xhtml2pdf Denial of Service via crafted string","modified":"2026-07-07T17:48:17.621101873Z","packages":[{"ecosystem":"PyPI","name":"xhtml2pdf","purl":"pkg:pypi/xhtml2pdf","ranges":["<=0.2.16"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}