{"id":"CVE-2021-45394","aliases":["GHSA-6m93-343m-3jrc"],"url":"https://o3.security/vulnerability/CVE-2021-45394","summary":"Cross-site Scripting in HTML2PDF","details":"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.","published":"2022-01-18T12:15:08.243Z","modified":"2026-07-09T01:06:37.334060Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":{"score":0.01581,"percentile":0.73218,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"spipu/html2pdf","fixedVersion":"5.2.4"}],"fix":{"url":"https://github.com/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585","label":"spipu/html2pdf@100a4d5"},"references":[{"type":"ADVISORY","url":"https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md"},{"type":"PACKAGE","url":"https://github.com/spipu/html2pdf"},{"type":"EVIDENCE","url":"https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45394"},{"type":"WEB","url":"https://github.com/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585"},{"type":"WEB","url":"https://github.com/spipu/html2pdf/commit/2e6bab9a2afe9cfd4d3c3038da64d8ad74e41d7f"},{"type":"WEB","url":"https://github.com/spipu/html2pdf/releases/tag/v5.2.4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:06:37.334060Z"}}