Advisory

GHSA-h9cw-7g8j-h66h

Also known as: CVE-2022-25876

Summary

Server-Side Request Forgery in link-preview-js

Details

The package link-preview-js before 2.1.17 are vulnerable to Server-side Request Forgery (SSRF) which allows attackers to send arbitrary requests to the local network and read the response. This is due to flawed DNS rebinding protection.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-07-02 00:00 UTC
Modified
2026-03-13 22:11 UTC

Affected packages and fixes

link-preview-js

npm · All systems

Affected

  • introduced 0, fixed 2.1.17 (semver)

Fixed versions

2.1.17

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences