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-2022-24728 Vulnerability in maven package org.webjars.npm:ckeditor4
CVE-2022-41881 Vulnerability in maven package io.netty:netty-codec-haproxy
CVE-2021-25914 Vulnerability in npm package object-collider
CVE-2020-27218 Vulnerability in maven package org.eclipse.jetty:jetty-server
CVE-2022-4244 Vulnerability in maven package org.codehaus.plexus:plexus-utils