Description
DSSRF is a Node.js library that provides a wide range of utilities and advanced SSRF defense checks. Prior to 1.0.5, is_url_safe can treat localhost as safe when DNS resolver 1.1.1.1 returns NXDOMAIN because dns.resolve4 yields no address and no dns.lookup fallback occurs, allowing server-side request forgery. This issue is fixed in version 1.0.5.
Published: 2026-07-31
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The dssrf-js Node.js library contains a flaw that can treat localhost URLs as safe when the DNS resolver 1.1.1.1 returns NXDOMAIN. In versions prior to 1.0.5, the function is_url_safe fails to fall back to dns.lookup after dns.resolve4 yields no address, allowing an attacker to pass a URL that points to an internal resource and be able to cause the server to resolve and request that resource. The result is SSRF, giving the attacker potential control over data exfiltration, port scanning or the triggering of internal services that may be privileged. The weakness is classified as CWE‑918.

Affected Systems

All users of the HackingRepo dssrf‑js library with a version earlier than 1.0.5 are impacted. This includes any application that imports the library and uses is_url_safe for sanitizing user‑supplied URLs, especially when configured to use Cloudflare’s 1.1.1.1 DNS resolver. No higher versions are known to be affected.

Risk and Exploitability

The CVSS score of 8.7 marks the vulnerability as high severity. The EPSS score of less than 1% indicates that, as of the last assessment, the probability of exploitation in the wild is low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that application code can supply a URL to is_url_safe and that Cloudflare’s resolver is present, so the attacker would first need to influence the target application’s input or be able to modify its configuration. Nevertheless, the impact could be substantial if successful, potentially allowing compromise of internal services.

Generated by OpenCVE AI on August 3, 2026 at 09:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the dssrf‑js library to version 1.0.5 or later, which removes the predicate that treats localhost as safe when a DNS query returns NXDOMAIN.
  • Reconfigure the library to use a trusted DNS resolver instead of Cloudflare’s 1.1.1.1, or disable custom resolver configuration entirely.
  • Implement additional application‑level input filtering to reject URLs that target local or private network addresses before they reach is_url_safe.

Generated by OpenCVE AI on August 3, 2026 at 09:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5846-7qm3-r52j dssrf: any users using 1.1.1.1 DNS is impacted by SSRF
History

Fri, 31 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Hackingrepo
Hackingrepo dssrf-js
Vendors & Products Hackingrepo
Hackingrepo dssrf-js

Fri, 31 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Description DSSRF is a Node.js library that provides a wide range of utilities and advanced SSRF defense checks. Prior to 1.0.5, is_url_safe can treat localhost as safe when DNS resolver 1.1.1.1 returns NXDOMAIN because dns.resolve4 yields no address and no dns.lookup fallback occurs, allowing server-side request forgery. This issue is fixed in version 1.0.5.
Title dssrf: any users using 1.1.1.1 DNS is impacted by SSRF
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Hackingrepo Dssrf-js
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T17:31:00.320Z

Reserved: 2026-06-15T23:07:33.232Z

Link: CVE-2026-54729

cve-icon Vulnrichment

Updated: 2026-07-31T17:30:56.029Z

cve-icon NVD

Status : Received

Published: 2026-07-31T18:17:17.173

Modified: 2026-07-31T18:17:17.173

Link: CVE-2026-54729

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:00:12Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)