node-json2html@1.0.0 vulnerabilities

json2html - HTML Templating in Pure Javascript

Direct Vulnerabilities

Known vulnerabilities in the node-json2html package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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