{"id":"CVE-2022-30241","aliases":["EUVD-2022-5005","GHSA-qp2q-6h9j-jg2r"],"status":"published","title":"Cross-site Scripting in jquery.json-viewer","description":"The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00715,"percentile":0.54019,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-05-04T17:29:55Z","modified":"2026-10-28T02:31:10Z","fixes":[{"ecosystem":"npm","package":"jquery.json-viewer","fixed_in":["1.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"jquery.json-viewer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}]},{"source":"osv","ecosystem":"npm","package":"jquery.json-viewer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}]}],"products":[{"vendor":"jquery_json-viewer_project","product":"jquery_json-viewer"}],"references":[{"url":"https://github.com/abodelot/jquery.json-viewer/pull/26","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.npmjs.com/package/jquery.json-viewer","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30241","tags":["advisory"]},{"url":"https://github.com/abodelot/jquery.json-viewer/releases/tag/v1.5.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qp2q-6h9j-jg2r"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30241.json","tags":["advisory"]},{"url":"https://github.com/abodelot/jquery.json-viewer","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-30241","description":"The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-04T17:29:55Z","modified":"2024-08-03T06:40:47.892Z","updated_at":"2026-11-02T14:34:31.184134Z"}],"euvd":[{"id":"EUVD-2022-5005","description":"The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-04T17:29:55Z","modified":"2024-08-03T06:40:47Z","updated_at":"2026-11-03T03:25:36.95433Z"}],"ghsa":[{"id":"GHSA-qp2q-6h9j-jg2r","title":"Cross-site Scripting in jquery.json-viewer","description":"The jquery.json-viewer library before version 1.5.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-05T00:00:15Z","modified":"2023-02-01T05:01:45Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2022-30241","description":"The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-04T18:15:10.037Z","modified":"2026-06-17T04:43:19.983Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"GHSA-qp2q-6h9j-jg2r","title":"Cross-site Scripting in jquery.json-viewer","description":"The jquery.json-viewer library before version 1.5.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-05T00:00:15Z","modified":"2023-11-08T04:09:17.137315Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"CVE-2022-30241","description":"The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as \u003c in a JSON object, as demonstrated by a SCRIPT element.","status":"published","published":"2022-05-04T17:29:55Z","modified":"2026-10-28T02:31:10.038708017Z","updated_at":"2026-11-02T15:44:25.516981Z"}]}}
