{"id":"CVE-2022-21144","aliases":["EUVD-2022-2933","GHSA-773h-w45w-f2f9","SNYK-JS-LIBXMLJS-2348756"],"status":"published","title":"Denial of Service (DoS)","description":"This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01918,"percentile":0.80025,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2022-05-01T15:25:10Z","modified":"2026-10-28T10:25:03Z","fixes":[{"ecosystem":"npm","package":"libxmljs","fixed_in":["0.19.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"libxmljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.8"}]}]},{"source":"osv","ecosystem":"npm","package":"libxmljs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.19.8"}]}]}],"products":[{"vendor":"libxmljs_project","product":"libxmljs"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/libxmljs/libxmljs/pull/594","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21144","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-773h-w45w-f2f9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21144.json","tags":["advisory"]},{"url":"https://github.com/libxmljs/libxmljs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-21144","title":"Denial of Service (DoS)","description":"This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-01T15:25:10.325Z","modified":"2024-09-16T23:06:44.496Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:29.057251Z"}],"euvd":[{"id":"EUVD-2022-2933","description":"This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-01T15:25:10Z","modified":"2024-09-16T23:06:44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high"}],"updated_at":"2026-11-03T00:54:56.209754Z"}],"ghsa":[{"id":"GHSA-773h-w45w-f2f9","title":"Denial of service vulnerability exists in libxmljs","description":"libxmljs provides libxml bindings for v8 javascript engine. This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-03T00:00:46Z","modified":"2023-08-17T05:02:09Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2022-21144","description":"This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-01T16:15:07.957Z","modified":"2026-06-17T04:25:36.687Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"CVE-2022-21144","title":"Denial of Service (DoS)","description":"This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-01T15:25:10.325Z","modified":"2026-10-28T10:25:03.850339841Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high"}],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"GHSA-773h-w45w-f2f9","title":"Denial of service vulnerability exists in libxmljs","description":"libxmljs provides libxml bindings for v8 javascript engine. This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.","status":"published","published":"2022-05-03T00:00:46Z","modified":"2026-07-08T06:49:53.712518712Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
