Vulnerability · Published May 4, 2022 · Assigned by mitre
CVE-2022-30241
Medium 6.1
In plain English
A medium-severity security flaw in the jquery.json-viewer package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.7%top 46.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as < in a JSON object, as demonstrated by a SCRIPT element.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jquery.json-viewer | 1.5.0 | GHSA-qp2q-6h9j-jg2r |
Affected products (as reported)
References
- https://github.com/abodelot/jquery.json-viewer/pull/26 x_refsource_MISC
- https://www.npmjs.com/package/jquery.json-viewer x_refsource_MISC