# CVE-2026-43897: Link Preview JS: vunerable to IPv6 and internal loopback attacks

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-02)
- Published: 2026-05-05T20:13:02.000Z
- Modified: 2026-10-26T00:10:00.150Z
- Also known as: GHSA-4gp8-rjrq-ch6q
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OP-Engineering link-preview-js: < 4.0.1
- link-preview-js (npm): before 4.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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> (web)
- <https://github.com/OP-Engineering/link-preview-js/pull/179> (web)
- <https://github.com/OP-Engineering/link-preview-js/commit/4396d48909fab37553c0e93e26447fe218363ede> (web)
- <https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43897> (advisory)
- <https://github.com/OP-Engineering/link-preview-js> (package)

## Sources

- CVE List: [CVE-2026-43897](https://www.cve.org/CVERecord?id=CVE-2026-43897), CVE Terms of Use, modified 2026-05-12
- GitHub Advisory Database: [GHSA-4gp8-rjrq-ch6q](https://github.com/advisories/GHSA-4gp8-rjrq-ch6q), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-43897](https://nvd.nist.gov/vuln/detail/CVE-2026-43897), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-43897 · Whole record: https://cve.day/CVE-2026-43897.json · Rebuilt by cve.day 2026-11-25T22:59:21.306Z
