Live threats

All CVEs / Html2pdf Project

CVE-2023-39062Html2pdf Project Html2pdf

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Html2pdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
html2pdf_projecthtml2pdf< 5.2.8

Official sources

References

Links published by the sources. Open them with care.