An issue was discovered in Spipu HTML2PDF before 5.2.4.
Priority MEDIUM 41CWE-502Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502 and CWE-79.
Summary
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.
Why it matters now
EPSS 0.01581 75th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed spipu/html2pdf (Packagist): 5.2.4
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | spipu/html2pdf (Packagist) | before 5.2.4 | 5.2.4 | Patch available | GHSA-6m93-343m-3jrc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- spipu/html2pdf (Packagist) Vendor— Affected before 5.2.4 Fixed in 5.2.4 Patch available GHSA-6m93-343m-3jrc
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:html2pdf_project:html2pdf:*:*:*:*:*:*:*:* | before 5.2.4 | Vulnerable | Html2pdf Project |
- cpe:2.3:a:html2pdf_project:html2pdf:*:*:*:*:*:*:*:* Versions before 5.2.4 Vulnerable ·Html2pdf Project
Remediation
- Fix · GHSA-6m93-343m-3jrc spipu/html2pdf (Packagist) Fixed in 5.2.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45394
- 2026-10-03 Alias added: GHSA-6m93-343m-3jrc
References
Advisory 3
More Html2pdf Project Html2pdf vulnerabilities
- TI-2023-20280 Cross Site Scripting vulnerability in Spipu HTML2PDF before v.5.2.8 allows a remote… CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-45394 · CVE Program
- CVE-2021-45394 · NVD
- FIRST EPSS
- GHSA-6m93-343m-3jrc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences