Cross-site Scripting in Pyhtml2pdf
Date: 2024-02
Affected: pip/pyhtml2pdf
Attack vector: xss
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-1647
CWE: CWE-79
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):