CVE-2018-25053
MEDIUM 6.1CVSS 3.1Json2html vulnerable to 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.
- Published
- 28 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-79mp-cxp4-9p6r
- Sources
- NVDJSONOSV GHSA-79mp-cxp4-9p6rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json2html | json2htmlcpe:2.3:a:json2html:json2html:*:*:*:*:*:*:*:* |
< 1.2.0 | 1.2.0 |
| OSV | npm | node-json2html | < 1.2.0 | 1.2.0 |
References
- https://github.com/moappi/json2html/commit/2d3d24d971b19a8ed1fb823596300b9835d55801 · Patch, Third Party Advisory, WEB
- https://github.com/moappi/json2html/releases/tag/1.2.0 · Release Notes, Third Party Advisory, WEB
- https://vuldb.com/?ctiid.216959 · Third Party Advisory, WEB
- https://vuldb.com/?id.216959 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-25053 · ADVISORY
- https://github.com/moappi/json2html · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Dec 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Dec 2022)