Medium, CVSS 6.1npmAmendedPublished
Json2html vulnerable to cross-site scripting
CVE-2018-25053 · GHSA-79mp-cxp4-9p6r
- Affected
- npm node-json2html < 1.2.0
- Fixed in
- 1.2.0· Vendor fix available
- Issue
- 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. Upgrading to version 1.2.0 can address this issue. The name of the patch is 2d3d24d971b19a8ed1fb823596300b9835d55801. The associated identifier of this vulnerability is VDB-216959.
Recommended action: Upgrade to 1.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.