CVE-2018-25053moappi Json2html json2html.js cross site scripting
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
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | node-json2html | Fixed | 1.2.0 | GHSA-79mp-cxp4-9p6r |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moappi Json2html: affected: 1.0, 1.1
Vendor advisories:
- https://github.com/moappi/json2html/commit/2d3d24d971b19a8ed1fb823596300b9835d55801 (patch)
- https://github.com/moappi/json2html/releases/tag/1.2.0 (patch)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.