org.webjars.npm:pdfjs-dist@6.0.227

  • latest version

    6.1.200

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:pdfjs-dist 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
    • H
    Cross-site Scripting (XSS)

    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 Cross-site Scripting (XSS) via the enableScripting configuration when loading a crafted PDF file. An attacker can execute arbitrary JavaScript code in the context of the hosting domain by enticing a user to open a malicious PDF. This is only exploitable if enableScripting is set to true and no Content Security Policy is configured to disallow script-src.

    How to fix Cross-site Scripting (XSS)?

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

    [5.6.205,6.2.108)