medium6.1
CVE-2022-30241
Cross-site Scripting in jquery.json-viewer
Impact
The jquery.json-viewer library before version 1.5.0 for Node.js does not properly escape characters such as < in a JSON object, as demonstrated by a SCRIPT element.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | jquery.json-viewer | < 1.5.0 | 1.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jquery Json-Viewer Project | Jquery Json-Viewer | through 1.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/abodelot/jquery.json-viewer/pull/26
- https://www.npmjs.com/package/jquery.json-viewer
- https://github.com/advisories/GHSA-qp2q-6h9j-jg2r
- https://nvd.nist.gov/vuln/detail/CVE-2022-30241
- https://github.com/abodelot/jquery.json-viewer/releases/tag/v1.5.0