MEDIUM6.1
GHSA-99fg-2h75-m92h
Spipu HTML2PDF vulnerable to cross-site scripting
Quick fix
GHSA-99fg-2h75-m92h — spipu/html2pdf: upgrade to the fixed version with the command below.
composer require spipu/html2pdf:^5.2.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-39062[ADVISORY]
- https://github.com/spipu/html2pdf/commit/92afd81823d62ad95eb9d034858311bb63aeb4ac[WEB]
- https://github.com/afine-com/CVE-2023-39062[WEB]
- https://github.com/sectroyer/CVEs/tree/main/CVE-2023-39062[WEB]
- https://github.com/spipu/html2pdf[PACKAGE]
- https://github.com/spipu/html2pdf/blob/92afd81823d62ad95eb9d034858311bb63aeb4ac/CHANGELOG.md[WEB]