Cross-site Scripting in HTML2PDF
Date: 2022-01
Affected: composer/spipu/html2pdf
Attack vector: deserialization
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2021-45394
CWE: CWE-79
CWE-918
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)

An issue was discovered in Spipu HTML2PDF before 5.2.4. Attackers can trigger deserialization of arbitrary data via the injection of a malicious <link> tag in the converted HTML document.


Mitigations:

Architectural layers (MAESTRO):