Vulnerability · Published Jan 18, 2022 · Assigned by mitre
CVE-2021-45394
High 8.8
In plain English
A high-severity security flaw in the spipu/html2pdf package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)1.6%top 24.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | spipu/html2pdf | 5.2.4 | GHSA-6m93-343m-3jrc |
Affected products (as reported)
References
- https://github.com/spipu/html2pdf x_refsource_MISC
- https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf x_refsource_MISC
- https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md x_refsource_MISC