CVE-2025-54590
webfinger.js is a TypeScript-based WebFinger client that runs in …
webfinger.js is a TypeScript-based WebFinger client that runs in both browsers and Node.js environments. In versions 2.8.0 and below, the lookup function accepts user addresses for account checking. However, the ActivityPub specification requires preventing access to localhost services in production. This library does not prevent localhost access, only checking for hosts that start with "localhost" and end with a port. Users can exploit this by creating servers that send GET requests with controlled host, path, and port parameters to query services on the instance's host or local network, enabling blind SSRF attacks. This is fixed in version 2.8.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/silverbucket/webfinger.js/commit/b5f2f2c957297d25f4d76072963fccaee2e3095a
- github.com/silverbucket/webfinger.js/releases/tag/v2.8.1
- github.com/silverbucket/webfinger.js/security/advisories/GHSA-8xq3-w9fx-74rv
- nvd.nist.gov/vuln/detail/CVE-2025-54590
- github.com/advisories/GHSA-8xq3-w9fx-74rv
- nvd.nist.gov/vuln/detail/CVE-2025-54590
- cve.org/CVERecord?id=CVE-2025-54590
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.