Skip to main content
No exploitation reportedFix available

CVE-2021-45394

No exploitation reported by the sources we read.

  • Published2022-01-18
  • Fixed in5.2.4
  • WeaknessCWE-502 · CWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-01-1812:15CVE publishedNVD

Versions per branch

NVD · OSV
Html2pdf project html2pdf
BranchAffectedFixed in
5.2< 5.2.45.2.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Html2pdf project html2pdf to 5.2.4

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.18.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • NVDweakness (CWE)CWE-502, CWE-918read 2026-10-23
  • FIRST EPSSEPSS score1.6 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2022-01-19

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2022-01-18
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-6m93-343m-3jrc

Frequently asked questions

What is CVE-2021-45394?

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.

Is CVE-2021-45394 actively exploited?

Active exploitation of CVE-2021-45394 has not been confirmed. Its EPSS score was 1.6% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-45394?

CVE-2021-45394 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running spipu/html2pdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record