Skip to content

CVE-2021-45394 Cross-site Scripting in HTML2PDF

HighCVSS 8.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
html2pdf project html2pdf < 5.2.4 5.2.4 Fixed
spipu/html2pdf(Packagist) < 5.2.4; = v4.4.0; = v4.5.0; = v4.5.1 +9 more 5.2.4 Fixed

Affected products

ProductAffected versionsFixed in
spipu/html2pdf(Packagist) < 5.2.4 5.2.4
spipu/html2pdf(Packagist) = v4.4.0 No fix listed
spipu/html2pdf(Packagist) = v4.5.0 No fix listed
spipu/html2pdf(Packagist) = v4.5.1 No fix listed
spipu/html2pdf(Packagist) = v4.6.0 No fix listed
spipu/html2pdf(Packagist) = v4.6.1 No fix listed
spipu/html2pdf(Packagist) = v5.0.0 No fix listed
spipu/html2pdf(Packagist) = v5.0.1 No fix listed
spipu/html2pdf(Packagist) = v5.1.0 No fix listed
spipu/html2pdf(Packagist) = v5.2.0 No fix listed
spipu/html2pdf(Packagist) = v5.2.1 No fix listed
spipu/html2pdf(Packagist) = v5.2.2 No fix listed
spipu/html2pdf(Packagist) = v5.2.3 No fix listed
html2pdf project html2pdf < 5.2.4 5.2.4

References