Quick answers
- Is CVE-2026-43897 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-43897 being exploited in the wild.
- How severe is CVE-2026-43897?
- High severity, with a CVSS score of 4, published 11 May 2026.
- Which products and versions are affected?
- OP-Engineering Link-Preview-Js <= 4.0.0.
- Is there a fix for CVE-2026-43897?
- A patch was published on 2026-04-25: Version 4.0.1 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-43897 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-43897?
- Check whether you run OP-Engineering Link-Preview-Js at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a Server-Side Request Forgery (SSRF) vulnerability (CWE-918) in link-preview-js that allows attackers to bypass network access controls. The root cause is insufficient validation of IPv6 loopback addresses in the URL validation regex, and improper handling of DNS resolution results. An attacker can supply a URL that resolves to an internal IP address (127.0.0.1, ::1, or private ranges) or craft IPv6 addresses designed to reach loopback interfaces. The attack requires no authentication and is network-reachable. A successful exploit allows an attacker to fetch content from internal services, potentially exposing sensitive data or metadata. The patch in version 4.0.1 tightens the IPv6 validation regex and blocks certain DNS suffixes (.internal, .local, .nip.io, .sslip.io), but the maintainers acknowledge this is incomplete protection. Users are strongly advised to use the resolveDNSHost option to perform DNS resolution validation before fetching content.
Affected products
- OP-Engineering link-preview-js <= 4.0.0
Identifiers
- CVE-2026-43897
- GHSA-4gp8-rjrq-ch6q
Timeline
- 2026-04-25: disclosed
- 2026-04-25: patched: Version 4.0.1 released
- 2026-05-05: advisory: GHSA-4gp8-rjrq-ch6q published
References
- https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-4gp8-rjrq-ch6q
- https://github.com/OP-Engineering/link-preview-js/pull/179
- https://github.com/OP-Engineering/link-preview-js/commit/4396d48909fab37553c0e93e26447fe218363ede
- https://github.com/OP-Engineering/link-preview-js
- https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.1