GHSA-6m93-343m-3jrc

Suggest an improvement
Source
https://github.com/advisories/GHSA-6m93-343m-3jrc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-6m93-343m-3jrc/GHSA-6m93-343m-3jrc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6m93-343m-3jrc
Aliases
Published
2022-01-21T23:29:48Z
Modified
2023-11-01T04:56:52.706604Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Cross-site Scripting in HTML2PDF
Details

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.

Database specific
{
    "nvd_published_at": "2022-01-18T12:15:00Z",
    "github_reviewed_at": "2022-01-19T22:40:38Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79",
        "CWE-918"
    ]
}
References

Affected packages

Packagist / spipu/html2pdf

Package

Name
spipu/html2pdf
Purl
pkg:composer/spipu/html2pdf

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.4

Affected versions

v4.*

v4.4.0
v4.5.0
v4.5.1
v4.6.0
v4.6.1

v5.*

v5.0.0
v5.0.1
v5.1.0
v5.2.0
v5.2.1
v5.2.2
v5.2.3