CVE-2020-7763 Arbitrary File Read

High 7.5 Published Updated

An attacker can read arbitrary files from the server by exploiting a path traversal vulnerability in the phantom-html-to-pdf library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7763?

CVE-2020-7763 is a high-severity path traversal vulnerability in phantom-html-to-pdf, published on 5 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package phantom-html-to-pdf before 0.6.1.

Weakness: CWE-22

Which versions are affected by CVE-2020-7763?

2 open source packages ship an affected version, including phantom-html-to-pdf. It affects 1 product.

PackageAffectedFixed in
phantom-html-to-pdf npmAll versions0.6.2
phantom-html-to-pdf npmAll versions0.6.2

Products include Jsreport Phantom-Html-to-Pdf.

How do I fix CVE-2020-7763?

Upgrade phantom-html-to-pdf to 0.6.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-7763 being exploited?

There is no known exploitation of CVE-2020-7763 in the wild and no public exploit code.

Sources

Also known as GHSA-6h7f-qwqm-35pp, SNYK-JS-PHANTOMHTMLTOPDF-1023598.

Is CVE-2020-7763 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free