CVE-2023-39062
Spipu HTML2PDF vulnerable to cross-site scripting
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2023-39062- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-39062- Updated
- 2026-11-02
EUVDEUVD-2023-2254 No score
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.
- Record
EUVD-2023-2254- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-99fg-2h75-m92h
6.1
Spipu HTML2PDF vulnerable to cross-site scripting
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.
- Record
GHSA-99fg-2h75-m92h- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-99fg-2h75-m92h
6.1
Spipu HTML2PDF vulnerable to cross-site scripting
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.
- Record
GHSA-99fg-2h75-m92h- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-39062- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
spipu/html2pdfPackagist |
before 5.2.8 | 5.2.8 |
spipu/html2pdfPackagist |
before 5.2.8, plus listed versions v4.4.0v4.5.0v4.5.1v4.6.0v4.6.1 Show 11 moreShow lessv5.0.0v5.0.1v5.1.0v5.2.0v5.2.1v5.2.2v5.2.3v5.2.4v5.2.5v5.2.6v5.2.7 |
5.2.8 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | afine-com/CVE-2023-39062 | 2023-08-23 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-39062 is a medium vulnerability (CVSS 6.1) in Html2pdf Project Html2pdf, published August 28, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.46%, the 73rd percentile. Fixed in spipu/html2pdf 5.2.8.
References
github.com/spipu/html2pdf/blob/92afd81823d62ad95eb9d034858311bb63aeb4ac/CHANGELOG.md
github.com/afine-com/CVE-2023-39062
github.com/sectroyer/CVEs/tree/main/CVE-2023-39062
nvd.nist.gov/vuln/detail/CVE-2023-39062
github.com/spipu/html2pdf/commit/92afd81823d62ad95eb9d034858311bb63aeb4ac
github.com/advisories/GHSA-99fg-2h75-m92h
github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39062.json
github.com/spipu/html2pdf