CVE-2023-39062 json
Spipu HTML2PDF vulnerable to cross-site scripting
published 2023-08-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-99fg-2h75-m92h , EUVD-2023-2254
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist spipu/html2pdf 5.2.8
- html2pdf_project html2pdf 5.2.8
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/afine-com/CVE-2023-39062 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/sectroyer/CVEs/tree/main/CVE-2023-39062 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | spipu/html2pdf | <5.2.8 |
5.2.8 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/spipu/html2pdf/commit/92afd81823d62ad95eb9d034858311bb63aeb4ac
web
-
github.com
/afine-com/CVE-2023-39062
web, exploit, third-party-advisory
-
github.com
/sectroyer/CVEs/tree/main/CVE-2023-39062
web, exploit, third-party-advisory
-
github.com
/spipu/html2pdf/blob/92afd81823d62ad95eb9d034858311bb63aeb4ac/CHANGELOG.md
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-39062
advisory
-
github.com
/spipu/html2pdf
package
Sources
- CVE List CVE-2023-39062
- GitHub Advisory GHSA-99fg-2h75-m92h
- NVD CVE-2023-39062
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.