Vulnerability · Published Feb 19, 2024 · Assigned by Fluid Attacks

CVE-2024-1647pyhtml2pdf 0.0.6 - Local File Read via Server Side XSS

High 7.5

In plain English

A high-severity cross-site scripting in pyhtml2pdf from pyhtml2pdf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 46.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpyhtml2pdfno fix listedGHSA-p3rv-qj56-2fqx
PyPIpyhtml2pdfno fix listedPYSEC-2024-301

Affected products (as reported)

VendorProductVersions
pyhtml2pdf pyhtml2pdf 0.0.6

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References