CVE-2025-54590 Details
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.
A blind Server-Side Request Forgery (SSRF) vulnerability has been identified in webfinger.js, a TypeScript-based WebFinger client for browsers and Node.js. This issue affects versions 2.8.0 and prior. The vulnerability arises because the lookup function allows user-provided addresses for account verification without properly restricting access to localhost services in production, as required by the ActivityPub specification. The library only checks for 'localhost' in a limited way, leaving it vulnerable to exploitation by sending GET requests to local or network services, potentially accessing restricted resources.
Users can update to webfinger.js version 2.8.1, which addresses the SSRF vulnerability by blocking private addresses and localhost access in production environments, in accordance with ActivityPub security guidelines.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 1, 2025CISA-ADP
Assessed Aug 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/silverbucket/webfinger.js/commit/b5f2f2c957297d25f4d76072963fccaee2e3095a | [email protected] | Source CodeVendor |
| https://github.com/silverbucket/webfinger.js/releases/tag/v2.8.1 | [email protected] | Release NotesVendor |
| https://github.com/silverbucket/webfinger.js/security/advisories/GHSA-8xq3-w9fx-74rv | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| silverbucket webfinger.js | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2025 | New CVE Received | [email protected] |
Volerion