{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-25885","id":"CVE-2024-25885","title":"xhtml2pdf Denial of Service via crafted string","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.","descriptionLong":"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-08T00:00:00.000Z","updated":"2026-07-07T17:57:12.822310663Z","reserved":"2024-02-12T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"xhtml2pdf","purl":"pkg:pypi/xhtml2pdf","ranges":["<=0.2.16"],"fixed":[],"advisory":"GHSA-jj5c-hhrg-vv5h"}],"cwes":["CWE-1333"],"aliases":["GHSA-jj5c-hhrg-vv5h","PYSEC-2026-2056"],"references":[{"url":"https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206","tags":["web"]},{"url":"http://dirk.com","tags":["web"]},{"url":"http://xhtml2pdf.com","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25885","tags":["advisory"]},{"url":"https://github.com/xhtml2pdf/xhtml2pdf","tags":["package"]},{"url":"https://pypi.org/project/xhtml2pdf","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jj5c-hhrg-vv5h","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00642,"epssPercentile":0.51565,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-25885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25885","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-25885","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jj5c-hhrg-vv5h","ok":true,"note":"GHSA-jj5c-hhrg-vv5h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-25885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}