Live threats

All CVEs / Libxmljs Project

CVE-2022-21144Libxmljs Project Libxmljs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
May 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libxmljs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm libxmljs < 0.19.8 0.19.8 npm install libxmljs@0.19.8

Per OSV / GitHub Advisories (GHSA-773h-w45w-f2f9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
libxmljs_projectlibxmljs< 0.19.8

Official sources

References

Links published by the sources. Open them with care.