Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyhtml2pdf
  4. ›
  5. CVE-2024-1647

CVE-2024-1647: Cross-site Scripting in Pyhtml2pdf

February 20, 2024 (updated June 8, 2026)

Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain

arbitrary local files. This is possible because the application does not

validate the HTML content entered by the user.

References

  • fluidattacks.com/advisories/oliver
  • github.com/advisories/GHSA-p3rv-qj56-2fqx
  • github.com/pypa/advisory-database/tree/main/vulns/pyhtml2pdf/PYSEC-2024-301.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-1647
  • pypi.org/project/pyhtml2pdf

Code Behaviors & Features

Detect and mitigate CVE-2024-1647 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.6

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/pyhtml2pdf/CVE-2024-1647.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 26 Jun 2026 00:17:43 +0000.