Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS02bTkzLTM0M20tM2pyY80kbQ
Cross-site Scripting in HTML2PDF
An issue was discovered in Spipu HTML2PDF before 5.2.4. Attackers can trigger deserialization of arbitrary data via the injection of a malicious tag in the converted HTML document.
Permalink: https://github.com/advisories/GHSA-6m93-343m-3jrcJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02bTkzLTM0M20tM2pyY80kbQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Identifiers: GHSA-6m93-343m-3jrc, CVE-2021-45394
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-45394
- 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/spipu/html2pdf/commit/100a4d509abf8550765cf0e0da83e83abb422585
- https://github.com/spipu/html2pdf/commit/2e6bab9a2afe9cfd4d3c3038da64d8ad74e41d7f
- https://github.com/spipu/html2pdf/releases/tag/v5.2.4
- https://github.com/advisories/GHSA-6m93-343m-3jrc
Blast Radius: 25.2
Affected Packages
packagist:spipu/html2pdf
Dependent packages: 44Dependent repositories: 724
Downloads: 7,426,810 total
Affected Version Ranges: < 5.2.4
Fixed in: 5.2.4
All affected versions: 4.4.0, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.2.3
All unaffected versions: 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8