CVE-2025-54590 webfinger.js is vulnerable to Blind SSRF attacks through localhost
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm webfinger.js(npm) | < 2.8.1; <= 2.8.0 | 2.8.1 | Fixed |
| silverbucket webfinger.js | = < 2.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm webfinger.js(npm) | <= 2.8.0 | No fix listed |
| silverbucket webfinger.js | = < 2.8.1 | No fix listed |
| npm webfinger.js(npm) | < 2.8.1 | 2.8.1 |
References
- https://github.com/silverbucket/webfinger.js/security/advisories/GHSA-8xq3-w9fx-74rv vendor-advisory
- https://github.com/silverbucket/webfinger.js/commit/b5f2f2c957297d25f4d76072963fccaee2e3095a patch
- https://github.com/silverbucket/webfinger.js/releases/tag/v2.8.1
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product