CVE-2025-54590CWE-918

webfinger.js is vulnerable to Blind SSRF attacks through localhost

Medium · published August 1, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
51.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00663 · 51.1th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-08-01T18:03Z
EPSS history
Timeline
  • 01 AUG 18:03Z
    webfinger.js is vulnerable to Blind SSRF attacks through localhost
    cvelistv5