Security mailing lists by PureSourceCode

CVE-2021-45394

HIGH 8.8CVSS 3.1

Cross-site Scripting in HTML2PDF

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
18 Jan 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-502CWE-79CWE-918
Also known as
GHSA-6m93-343m-3jrc
Sources
NVDJSONOSV GHSA-6m93-343m-3jrcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD html2pdf_project html2pdf
cpe:2.3:a:html2pdf_project:html2pdf:*:*:*:*:*:*:*:*
< 5.2.4 5.2.4
OSV Packagist spipu/html2pdf < 5.2.4 5.2.4

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.