react-pdf@0.0.1 vulnerabilities

Display PDFs in your React app as easily as if they were images.

  • latest version

    9.1.1

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the react-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
    • H
    Arbitrary Code Injection

    react-pdf is a package used to display existing PDFs.

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the isEvalSupported configuration parameter. An attacker can execute code by convincing a user to open a malicious PDF file. This is only exploitable if isEvalSupported is set to true, which is the default setting.

    How to fix Arbitrary Code Injection?

    Upgrade react-pdf to version 7.7.3, 8.0.2 or higher.

    <7.7.3>=8.0.0 <8.0.2