{"id":"CVE-2022-21144","aliases":["CVE-2022-21144","GHSA-773h-w45w-f2f9","SNYK-JS-LIBXMLJS-2348756"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service (DoS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete libxmljs. Cuando es invocada la función libxmljs.parseXml con un argumento que no es un buffer, el código V8 intentará invocar el método .toString del argumento. Si el valor toString del argumento no es un objeto Function, V8 será bloqueado","source":"nvd"}],"published":"2022-05-01T15:25:10.325Z","modified":"2026-07-08T06:49:53.712Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"libxmljs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.19.8"}],"ecosystem":"npm","package":"libxmljs","purl":"pkg:npm/libxmljs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.19.8"}],"vendor":"libxmljs_project","product":"libxmljs","cpe":"cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/libxmljs/libxmljs/pull/594","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21144","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/libxmljs/libxmljs","tags":["package"],"sources":["ghsa"]}],"credits":["Cristian-Alexandru Staicu","Aviad Hahami"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21144","url":"https://www.cve.org/CVERecord?id=CVE-2022-21144","licence":"CVE Terms of Use","modified":"2024-09-16T23:06:44.496Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-773h-w45w-f2f9","url":"https://github.com/advisories/GHSA-773h-w45w-f2f9","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:53.712Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21144","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21144","licence":"Public domain","modified":"2026-06-17T04:25:36.687Z"}],"updatedAt":"2026-11-25T22:58:11.320Z","epss":{"score":0.01918,"percentile":0.80477,"date":"2026-12-01T12:00:22.000Z"}}