{"id":"CVE-2021-45394","published":"2022-01-18T11:15:45Z","modified":"2024-08-04T04:39:20Z","title":"An issue was discovered in Spipu HTML2PDF before 5.2.4","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01633,"percentile":0.76876,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/spipu/html2pdf","tags":["x_refsource_MISC"]},{"url":"https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf","tags":["x_refsource_MISC"]},{"url":"https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":15.38}]},"affected":[{"ecosystem":"Packagist","package":"spipu/html2pdf","vulnerableRanges":["<5.2.4"],"patched":["5.2.4"],"from":["GHSA-6m93-343m-3jrc"],"provenance":"source"}],"summary":{"text":"The flaw lies in Spipu HTML2PDF, a PHP library for converting HTML to PDF, in versions before 5.2.4. It allows deserialization of arbitrary data when a malicious <link> tag is injected into the HTML document being converted. An attacker who can inject a crafted <link> tag into the HTML that the library converts can trigger deserialization of attacker-supplied data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:23Z"},"euvd":{"id":"EUVD-2022-0482","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-spipu-html2pdf-cve-2021-45394","children":[{"from":"CVE-2021-45394","to":"CVE-2023-39062","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:spipu/html2pdf","fromFixed":"5.2.4","toFixed":"5.2.8","daysApart":587},{"kind":"same-code","provenance":"machine","files":["src/Html2Pdf.php"],"commits":["https://github.com/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585","https://github.com/spipu/html2pdf/commit/2e6bab9a2afe9cfd4d3c3038da64d8ad74e41d7f","https://github.com/spipu/html2pdf/commit/92afd81823d62ad95eb9d034858311bb63aeb4ac"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.69,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-45394","published":"2022-01-18","fixed":"5.2.4","kev":false},{"cve":"CVE-2023-39062","published":"2023-08-28","fixed":"5.2.8","kev":false}],"package":"Packagist:spipu/html2pdf"}}