{"api_version":"1","generated_at":"2026-07-23T10:09:01+00:00","cve":"CVE-2022-21144","urls":{"html":"https://cve.report/CVE-2022-21144","api":"https://cve.report/api/cve/CVE-2022-21144.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21144","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21144"},"summary":{"title":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-05-01 16:15:00","updated_at":"2023-08-08 14:22:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d","name":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d","refsource":"MISC","tags":[],"title":"Ensure parseXml/parseHtml input is string or buffer (#594) · libxmljs/libxmljs@2501807 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libxmljs/libxmljs/pull/594","name":"https://github.com/libxmljs/libxmljs/pull/594","refsource":"MISC","tags":[],"title":"Ensure parseXml/parseHtml input is string or buffer by rchipka · Pull Request #594 · libxmljs/libxmljs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756","name":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756","refsource":"MISC","tags":[],"title":"Denial of Service (DoS) in libxmljs | CVE-2022-21144 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21144","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21144","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Cristian-Alexandru Staicu","lang":""},{"source":"LEGACY","value":"Aviad Hahami","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"21144","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libxmljs_project","cpe5":"libxmljs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"node.js","cpe13":"*"},{"cve_year":"2022","cve_id":"21144","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libxmljs_project","cpe5":"libxmljs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-05-01T15:20:25.245889Z","ID":"CVE-2022-21144","STATE":"PUBLIC","TITLE":"Denial of Service (DoS)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"libxmljs","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Denial of Service (DoS)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756","name":"https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756"},{"refsource":"MISC","url":"https://github.com/libxmljs/libxmljs/pull/594","name":"https://github.com/libxmljs/libxmljs/pull/594"},{"refsource":"MISC","url":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d","name":"https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Cristian-Alexandru Staicu"},{"lang":"eng","value":"Aviad Hahami"}]},"nvd":{"publishedDate":"2022-05-01 16:15:00","lastModifiedDate":"2023-08-08 14:22:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.19.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}