{"id":"CVE-2024-25885","published":"2024-10-08T00:00:00Z","modified":"2026-07-05T16:04:09Z","title":"An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00936,"percentile":0.5916,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":11.83},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-09T14:11:31.044149Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"xhtml2pdf","vulnerableRanges":["<=0.2.16"],"patched":[],"from":["GHSA-jj5c-hhrg-vv5h","PYSEC-2026-2056"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-3070","exploited":false,"provenance":"source"}}