Vulnerability library
Security checkFebruary 03, 2023

Json2html vulnerable to cross-site scripting

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmnode-json2html

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Json2html is a client side javascript HTML templating library with wrappers for both jQuery and Node.js. A vulnerability was found in moappi Json2html up to 1.1.x and classified as problematic. This issue affects some unknown processing of the file json2html.js. The manipulation leads to cross site scripting. The attack may be initiated remotely.

Recommendation

Update the node-json2html package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.2.0
  • Patched version(s): 1.2.0

References

Could your website be exposed too?

SmartScanner can check your website for Json2html vulnerable to cross-site scripting and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 03, 2023