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.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 | third party advisory exploit |
https://github.com/libxmljs/libxmljs/pull/594 | third party advisory patch |
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d | third party advisory patch |