{"id":"GHSA-6m93-343m-3jrc","aliases":["CVE-2021-45394"],"title":"Cross-site Scripting in HTML2PDF","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.","severity":"high","score":8.8,"published":"2022-01-21T23:29:48.000Z","modified":"2023-11-08T04:07:20.751Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"spipu/html2pdf","ranges":[{"events":[{"introduced":"0"},{"fixed":"5.2.4"}],"type":"ECOSYSTEM"}],"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"],"fixed":["5.2.4"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-45394","https://github.com/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585","https://github.com/spipu/html2pdf/commit/2e6bab9a2afe9cfd4d3c3038da64d8ad74e41d7f","https://github.com/spipu/html2pdf","https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md","https://github.com/spipu/html2pdf/releases/tag/v5.2.4","https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf"],"sources":[{"name":"OSV","id":"GHSA-6m93-343m-3jrc","modified":"2023-11-08T04:07:20.751955Z","url":"https://osv.dev/vulnerability/GHSA-6m93-343m-3jrc"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8}]}