Arbitrary File Read Affecting jsreport-chrome-pdf package, versions <1.10.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-JSREPORTCHROMEPDF-1037310
  • published5 Nov 2020
  • disclosed5 Nov 2020
  • creditAnand Namana

Introduced: 5 Nov 2020

CVE-2020-7762  (opens in a new tab)
CWE-22  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade jsreport-chrome-pdf to version 1.10.0 or higher.

Overview

jsreport-chrome-pdf is a

Affected versions of this package are vulnerable to Arbitrary File Read. An Arbitrary File Read vulnerability exists in lib/conversion.js.

PoC

<script>document.write(window.location='../../../../../etc/passwd')</script>

References

CVSS Scores

version 3.1