{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.2.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dcb5671cac3d60ff486cf16df389e3bd0dc16ba4"
            }
          ],
          "repo": "https://github.com/spipu/html2pdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2021-45394",
  "modified": "2026-03-13T21:49:17.394378270Z",
  "published": "2022-01-18T12:15:08.243Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}