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://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
https://github.com/libxmljs/libxmljs/pull/594
Related Vulnerabilities
CVE-2022-36031 Vulnerability in npm package directus
CVE-2020-6858 Vulnerability in maven package com.hotels.styx:styx-components
CVE-2020-26939 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2018-19056 Vulnerability in maven package org.webjars.bowergithub.pandao:editor.md
CVE-2020-20913 Vulnerability in maven package net.mingsoft:ms-mcms