What’s Vulnerable › Vulnerabilities
CVE-2021-45394
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-18 · updated 2026-06-17
- Weakness: CWE-502
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.
Affected products
- Html2Pdf Project Html2Pdf: before 5.2.4 — fixed in 5.2.4
How to fix
Upgrade to a fixed version: Html2Pdf Project Html2Pdf 5.2.4. Check the vendor advisory for mitigations.
References
- https://github.com/spipu/html2pdf
- https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md
- https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf
- https://github.com/spipu/html2pdf
- https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md
- https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf
Get alerted when CVE-2021-45394 or the next vulnerability affects your stack