GitHub Advisory Database
GHSA-773h-w45w-f2f9
Denial of service vulnerability exists in libxmljs
Details
libxmljs provides libxml bindings for v8 javascript engine. 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | libxmljs | All versions before 0.19.8 (fixed in 0.19.8) |