{"id":"GHSA-6m93-343m-3jrc","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 \u003clink\u003e tag in the converted HTML document.","aliases":["CVE-2021-45394"],"modified":"2023-11-01T04:56:52.706604Z","published":"2022-01-21T23:29:48Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-01-19T22:40:38Z","nvd_published_at":"2022-01-18T12:15:00Z","cwe_ids":["CWE-79","CWE-918"],"severity":"HIGH"},"references":[{"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":"PACKAGE","url":"https://github.com/spipu/html2pdf"},{"type":"WEB","url":"https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/spipu/html2pdf/releases/tag/v5.2.4"},{"type":"WEB","url":"https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf"}],"affected":[{"package":{"name":"spipu/html2pdf","ecosystem":"Packagist","purl":"pkg:composer/spipu/html2pdf"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.4"}]}],"versions":["v4.4.0","v4.5.0","v4.5.1","v4.6.0","v4.6.1","v5.0.0","v5.0.1","v5.1.0","v5.2.0","v5.2.1","v5.2.2","v5.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-6m93-343m-3jrc/GHSA-6m93-343m-3jrc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}