{"id":"CVE-2024-1647","aliases":["EUVD-2024-0679","GHSA-p3rv-qj56-2fqx","PYSEC-2024-301"],"status":"published","title":"pyhtml2pdf 0.0.6 - Local File Read via Server Side XSS","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00695,"percentile":0.53464,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2024-02-19T23:59:17Z","modified":"2026-06-17T07:04:42Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pyhtml2pdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pyhtml2pdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6"]},{"source":"osv","ecosystem":"PyPI","package":"pyhtml2pdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6"]}],"products":[{"vendor":"kumaf","product":"pyhtml2pdf"},{"vendor":"pyhtml2pdf","product":"pyhtml2pdf"},{"vendor":"pyhtml2pdf_project","product":"pyhtml2pdf"}],"references":[{"url":"https://pypi.org/project/pyhtml2pdf/","tags":["x_transferred","Product","package"]},{"url":"https://fluidattacks.com/advisories/oliver/","tags":["x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1647","tags":["advisory"]},{"url":"https://fluidattacks.com/advisories/oliver","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyhtml2pdf/PYSEC-2024-301.yaml","tags":["web"]},{"url":"https://pypi.org/project/pyhtml2pdf","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p3rv-qj56-2fqx","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-1647","title":"pyhtml2pdf 0.0.6 - Local File Read via Server Side XSS","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-19T23:59:17.082Z","modified":"2025-12-03T20:21:55.6Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:18.259965Z"}],"euvd":[{"id":"EUVD-2024-0679","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-19T23:59:17Z","modified":"2025-12-03T20:21:55Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T19:49:10.321316Z"}],"ghsa":[{"id":"GHSA-p3rv-qj56-2fqx","title":"Cross-site Scripting in Pyhtml2pdf","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T03:30:57Z","modified":"2026-06-08T19:05:08Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:40:18.682012Z"}],"nvd":[{"id":"CVE-2024-1647","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T01:15:07.717Z","modified":"2026-06-17T07:04:42.04Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:37.655131Z"}],"osv":[{"id":"GHSA-p3rv-qj56-2fqx","title":"Cross-site Scripting in Pyhtml2pdf","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T03:30:57Z","modified":"2026-06-08T19:15:13.909773128Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"PYSEC-2024-301","description":"Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T01:15:07.717Z","modified":"2026-06-10T17:02:31.049197896Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
