hoch8.8
CVE-2021-45394
Cross-site Scripting in HTML2PDF
Auswirkung
An issue was discovered in Spipu HTML2PDF before 5.2.4. Attackers can trigger deserialization of arbitrary data via the injection of a malicious <link> tag in the converted HTML document.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | spipu/html2pdf | < 5.2.4 | 5.2.4 |
Betroffene Produkte · Html2pdf Project
| Produkt | Betroffene Versionen |
|---|---|
| Html2pdf | vor 5.2.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/spipu/html2pdf
- https://github.com/spipu/html2pdf/blob/master/CHANGELOG.md
- https://www.synacktiv.com/sites/default/files/2022-01/html2pdf_ssrf_deserialization.pdf
- https://github.com/advisories/GHSA-6m93-343m-3jrc
- https://nvd.nist.gov/vuln/detail/CVE-2021-45394
- https://github.com/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585
- https://github.com/spipu/html2pdf/commit/2e6bab9a2afe9cfd4d3c3038da64d8ad74e41d7f
- https://github.com/spipu/html2pdf/releases/tag/v5.2.4