{"answers":{"affected":"2 open source packages ship an affected version, including link-preview-js.","exploited":"There is no known exploitation of CVE-2026-43897 in the wild and no public exploit code.","fix":"Upgrade link-preview-js to 4.0.1 or later.","what":"CVE-2026-43897 is a high-severity server-side request forgery vulnerability in OP-Engineering link-preview-js, published on 11 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-43897 and fix it if it is affected.\n\nWhat it is: CVE-2026-43897 is a high-severity server-side request forgery vulnerability in OP-Engineering link-preview-js, published on 11 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-43897 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- link-preview-js (npm): affected all versions; fixed in 4.0.1\n- link-preview-js (npm): affected all versions; fixed in 4.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-43897/ (Markdown: https://insights.sbomify.com/CVE-2026-43897/index.md)","id":"CVE-2026-43897","markdown":"https://insights.sbomify.com/CVE-2026-43897/index.md","name":"CVE-2026-43897","record":{"aliases":["GHSA-4gp8-rjrq-ch6q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Link Preview JS","requires_auth":"none","summary":"An attacker can exploit Server-Side Request Forgery to access internal network resources and leak sensitive data via IPv6 or DNS rebinding attacks.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Link Preview JS: vunerable to IPv6 and internal loopback attacks","id":"CVE-2026-43897","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"SandboxJS: Sandbox escape via Function.caller leakage of internal call op","id":"CVE-2026-43898"},"packages":[{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["0"],"last_affected":[],"package":"link-preview-js","purl":null,"source":"GHSA-4gp8-rjrq-ch6q"},{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["0"],"last_affected":[],"package":"link-preview-js","purl":"pkg:npm/link-preview-js","source":"GHSA-4gp8-rjrq-ch6q"}],"prev":{"headline":"jq: Stack Overflow in Recursive Object Merge","id":"CVE-2026-43896"},"products":["link-preview-js"],"published":"2026-05-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["OP-Engineering"]},"summary":"An attacker can exploit Server-Side Request Forgery to access internal network resources and leak sensitive data via IPv6 or DNS rebinding attacks.","url":"https://insights.sbomify.com/CVE-2026-43897/"}