Skip to content

Cross-site Scripting in HTML2PDF

High severity GitHub Reviewed Published Jan 21, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

composer spipu/html2pdf (Composer)

Affected versions

< 5.2.4

Patched versions

5.2.4

Description

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.

References

Published by the National Vulnerability Database Jan 18, 2022
Reviewed Jan 19, 2022
Published to the GitHub Advisory Database Jan 21, 2022
Last updated Feb 3, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVE ID

CVE-2021-45394

GHSA ID

GHSA-6m93-343m-3jrc

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.