npmWorst: High3 advisories

link-preview-js: known vulnerabilities

link-preview-js has 3 reviewed security advisories in the GitHub Advisory Database — 2 high, 1 moderate. The most recent was published 2026-08-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the link-preview-js versions running across your servers, containers and images, and ranks what to patch first.

How to fix link-preview-js

Upgrade link-preview-js to a release at or above the fixed version shown for each advisory below. For npm:

npm install link-preview-js@4.0.4 (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 (3)

link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897 High 7.5 CWE-918 — Affected: before 4.0.4. Fixed in 4.0.4. Published 2026-08-20. GHSA-cpjf-6666-r8fx · CVE-2026-61704
link-preview-js vulnerable to IPv6 and internal loopback attacks High CWE-918 — Affected: before 4.0.1. Fixed in 4.0.1. Published 2026-05-11. GHSA-4gp8-rjrq-ch6q · CVE-2026-43897
Server-Side Request Forgery in link-preview-js Moderate 5.5 CWE-918 — Affected: before 2.1.17. Fixed in 2.1.17. Published 2022-07-01. GHSA-h9cw-7g8j-h66h · CVE-2022-25876

Find link-preview-js 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.