CVE-2025-54590

Medium

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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductWebfinger.js
PublishedAug 1, 2025
First seenAug 1, 2025

How to fix

Update
  • webfinger.js2.8.1 or later

Affected products

ProductAffected versionsFixed in
webfinger.jsnpmv < 2.8.12.8.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.