CVE-2023-39062Html2pdf Project Html2pdf
Medium 6.1 No auth needed
Follow: this CVE · Html2pdf Project · Html2pdf Project Html2pdf We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Aug 28, 2023
- Updated
- Nov 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Cross Site Scripting vulnerability in Spipu HTML2PDF before v.5.2.8 allows a remote attacker to execute arbitrary code via a crafted script to the forms.php.
What to do
- Apply the vendor's security update for Html2pdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | spipu/html2pdf |
< 5.2.8 |
5.2.8 |
composer require "spipu/html2pdf:^5.2.8" |
Per OSV / GitHub Advisories (GHSA-99fg-2h75-m92h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| html2pdf_project | html2pdf | < 5.2.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Release Notes