CVE-2025-2691 nossrf Server-Side Request Forgery (SSRF)
An attacker can bypass SSRF protections in the nossrf library by using hostnames that resolve to local or reserved IP addresses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-2691?
CVE-2025-2691 is a high-severity server-side request forgery vulnerability in nossrf, published on 23 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of the package nossrf before 1.0.4 are vulnerable to Server-Side Request Forgery (SSRF) where an attacker can provide a hostname that resolves to a local or reserved IP address space and bypass the SSRF protection mechanism.
Weakness: CWE-918
Which versions are affected by CVE-2025-2691?
2 open source packages ship an affected version, including nossrf. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nossrf npm | All versions | 1.0.4 |
nossrf npm | All versions | 1.0.4 |
Products include Nossrf Project Nossrf.
How do I fix CVE-2025-2691?
Upgrade nossrf to 1.0.4 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2025-2691 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2691 exists.
Sources
Also known as GHSA-vm77-mr48-27wj.