node-json2html@0.4.1 vulnerabilities

json2html - HTML templating in pure javascript

  • latest version

    3.2.2

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 months ago

  • licenses detected

    • >=0.4.1 <3.2.0
  • Direct Vulnerabilities

    Known vulnerabilities in the node-json2html 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
    • M
    Cross-site Scripting (XSS)

    node-json2html is an open source javascript library that uses js templates to render JSON objects into HTML.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the text attribute in json2html.js, which renders HTML.

    How to fix Cross-site Scripting (XSS)?

    Upgrade node-json2html to version 1.2.0 or higher.

    <1.2.0