jsreport-chrome-pdf@1.9.0 vulnerabilities

jsreport recipe which is rendering pdf from html using headless chrome

  • latest version

    1.10.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the jsreport-chrome-pdf package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary File Read

    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>
    

    How to fix Arbitrary File Read?

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

    <1.10.0