# CVE-2025-54590: webfinger.js is vulnerable to Blind SSRF attacks through localhost

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-07-28T16:41:06.000Z
- Modified: 2026-06-17T09:40:21.370Z
- Also known as: GHSA-8xq3-w9fx-74rv
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- silverbucket webfinger.js: < 2.8.1
- webfinger.js (npm): before 2.8.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/silverbucket/webfinger.js/security/advisories/GHSA-8xq3-w9fx-74rv> (web)
- <https://github.com/silverbucket/webfinger.js/commit/b5f2f2c957297d25f4d76072963fccaee2e3095a> (web)
- <https://github.com/silverbucket/webfinger.js/releases/tag/v2.8.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54590> (advisory)
- <https://github.com/silverbucket/webfinger.js> (package)

## Sources

- CVE List: [CVE-2025-54590](https://www.cve.org/CVERecord?id=CVE-2025-54590), CVE Terms of Use, modified 2025-08-01
- GitHub Advisory Database: [GHSA-8xq3-w9fx-74rv](https://github.com/advisories/GHSA-8xq3-w9fx-74rv), CC-BY-4.0, modified 2025-08-01
- NVD: [CVE-2025-54590](https://nvd.nist.gov/vuln/detail/CVE-2025-54590), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54590 · Whole record: https://cve.day/CVE-2025-54590.json · Rebuilt by cve.day 2026-11-25T22:59:01.975Z
