{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-30241","id":"CVE-2022-30241","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 < in a JSON object, as demonstrated by a SCRIPT element.","descriptionLong":"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.","published":"2022-05-04T17:29:55.000Z","updated":"2026-10-28T02:31:10.038708017Z","reserved":"2022-05-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"jquery.json-viewer","purl":"pkg:npm/jquery.json-viewer","ranges":["<1.5.0"],"fixed":["1.5.0"],"advisory":"GHSA-qp2q-6h9j-jg2r"}],"cwes":["CWE-79"],"aliases":["GHSA-qp2q-6h9j-jg2r"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30241.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30241","tags":["advisory"]},{"url":"https://github.com/abodelot/jquery.json-viewer","tags":["package"]},{"url":"https://github.com/abodelot/jquery.json-viewer/releases/tag/v1.5.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00715,"epssPercentile":0.54445,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-30241","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30241","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-30241","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qp2q-6h9j-jg2r","ok":true,"note":"GHSA-qp2q-6h9j-jg2r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-30241","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}