jsreport-chrome-pdf@1.2.1 vulnerabilities

jsreport recipe which is rendering pdf from html using headless chrome

  • latest version

    1.10.0

  • latest non vulnerable version

  • first published

    8 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.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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