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.
Remediation
References
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
https://github.com/libxmljs/libxmljs/pull/594
https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756
Related Vulnerabilities
CVE-2014-3490 Vulnerability in maven package org.jboss.resteasy:resteasy-jaxb-provider
CVE-2021-32804 Vulnerability in npm package tar
CVE-2023-22621 Vulnerability in npm package @strapi/plugin-users-permissions
CVE-2021-44228 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2021-4307 Vulnerability in maven package org.webjars.npm:baobab