org.webjars.npm:html2pdf.js@0.9.3 vulnerabilities

  • latest version

    0.10.3

  • first published

    6 years ago

  • latest version published

    10 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:html2pdf.js 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
    Cross-site Scripting (XSS)

    org.webjars.npm:html2pdf.js is a Client-side HTML-to-PDF rendering using pure JS

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the html2pdf function when processing unsanitized text (not element) sources. An attacker can execute arbitrary scripts in the context of the user's browser by supplying malicious HTML input.

    How to fix Cross-site Scripting (XSS)?

    A fix was pushed into the master branch but not yet published.

    [0,)