npmWorst: Moderate1 advisory

xml2js: known vulnerabilities

xml2js has 1 reviewed security advisory in the GitHub Advisory Database — 1 moderate. The most recent was published 2023-04-05. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the xml2js versions running across your servers, containers and images, and ranks what to patch first.

How to fix xml2js

Upgrade xml2js to a release at or above the fixed version shown for each advisory below. For npm:

npm install xml2js@0.5.0 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (1)

xml2js is vulnerable to prototype pollution Moderate 5.3 CWE-1321 — Affected: before 0.5.0. Fixed in 0.5.0. Published 2023-04-05. GHSA-776f-qx25-q3cc · CVE-2023-0842

Find xml2js across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.