Vulnerability · Published May 11, 2026 · Assigned by GitHub_M
CVE-2026-43897Link Preview JS: vunerable to IPv6 and internal loopback attacks
High 8.7
In plain English
A high-severity server-side request forgery in link-preview-js from OP-Engineering. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Link Preview JS extracts web links information. Prior to 4.0.1, the library did not check for IPv6 loopback attacks. There was also a DNS attack, where an address could be resolved into an internal IP. This could cause internal data leaks. This vulnerability is fixed in 4.0.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | link-preview-js | 4.0.1 | GHSA-4gp8-rjrq-ch6q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OP-Engineering | link-preview-js | < 4.0.1 |
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-4gp8-rjrq-ch6q x_refsource_CONFIRM
- https://github.com/OP-Engineering/link-preview-js/pull/179 x_refsource_MISC
- https://github.com/OP-Engineering/link-preview-js/commit/4396d48909fab37553c0e93e26447fe218363ede x_refsource_MISC
- https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.1 x_refsource_MISC