CVE-2025-54590
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
webfinger.jsnpm | < 2.8.1 | 2.8.1 |
Affected products
2- Range: v0.1.2, v0.1.3, v0.1.4, …
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-8xq3-w9fx-74rvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54590ghsaADVISORY
- github.com/silverbucket/webfinger.js/commit/b5f2f2c957297d25f4d76072963fccaee2e3095anvdWEB
- github.com/silverbucket/webfinger.js/releases/tag/v2.8.1nvdWEB
- github.com/silverbucket/webfinger.js/security/advisories/GHSA-8xq3-w9fx-74rvnvdWEB
News mentions
0No linked articles in our index yet.