org.webjars.npm:pdfjs-dist@2.15.349 vulnerabilities

  • latest version

    4.9.155

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:pdfjs-dist 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

    org.webjars.npm:pdfjs-dist is a Portable Document Format (PDF) library that is built with HTML5.

    Affected versions of this package are vulnerable to Arbitrary Code Injection in font_loader.js, which passes input to the eval() function when the default isEvalSupported option is in use. An attacker can execute code by convincing a user to open a malicious PDF file.

    How to fix Arbitrary Code Injection?

    Upgrade org.webjars.npm:pdfjs-dist to version 4.2.67 or higher.

    [,4.2.67)