{"id":"CVE-2024-25885","aliases":["GHSA-jj5c-hhrg-vv5h","PYSEC-2026-2056"],"url":"https://o3.security/vulnerability/CVE-2024-25885","summary":"xhtml2pdf Denial of Service via crafted string","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.","published":"2024-10-08T18:15:05Z","modified":"2026-07-07T17:57:12.822310663Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"xhtml2pdf","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"http://dirk.com"},{"type":"WEB","url":"http://xhtml2pdf.com"},{"type":"WEB","url":"https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25885"},{"type":"PACKAGE","url":"https://github.com/xhtml2pdf/xhtml2pdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:57:12.822310663Z"}}