Description
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 9.0.1 and prior to version 26.0.0 of @haxtheweb/open-apis, multiple functions conduct substring-only matching to validate hostnames to which basic authorization should be sent. An attacker can append the matched substrings to an attacker-controlled endpoint and capture authentication. Version 26.0.0 fixes the issue.
Published: 2026-06-05
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Multiple functions in @haxtheweb/open-apis before version 26.0.0 validate hostnames by checking for a substring match, and they send HTTP basic authentication credentials to any matched host. An attacker can supply an endpoint containing the matched substring, causing the server to forward stored credentials to the attacker's chosen host. This flaw allows the attacker to capture authentication tokens, which can then be used to impersonate users or access restricted resources.

Affected Systems

The vulnerability affects the HAX CMS project’s @haxtheweb/open-apis package, specifically versions starting at 9.0.1 up through 25.9.9. The issue is mitigated in version 26.0.0. All deployments of the open-apis component that are within the affected range are at risk.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog. The likely attack vector involves a remote attacker making a crafted request to the vulnerable API; the flaw can be exploited without additional user interaction. An attacker can gain credentials with the same authorization level used by the server, potentially compromising user accounts or administrative functions.

Generated by OpenCVE AI on June 5, 2026 at 20:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply update to @haxtheweb/open-apis version 26.0.0
  • Add strict hostname validation before sending basic authentication to any external host
  • If immediate update is not feasible, disable or restrict the affected API functions that send credentials until a patch is applied
  • Monitor API logs for abnormal outbound requests that may indicate SSRF attempts

Generated by OpenCVE AI on June 5, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4fg7-f244-3j49 HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
History

Mon, 08 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 07 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb open-apis
Vendors & Products Haxtheweb
Haxtheweb open-apis

Fri, 05 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Description HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 9.0.1 and prior to version 26.0.0 of @haxtheweb/open-apis, multiple functions conduct substring-only matching to validate hostnames to which basic authorization should be sent. An attacker can append the matched substrings to an attacker-controlled endpoint and capture authentication. Version 26.0.0 fixes the issue.
Title HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
Weaknesses CWE-183
CWE-918
References
Metrics cvssV4_0

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


Subscriptions

Haxtheweb Open-apis
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-08T16:18:38.404Z

Reserved: 2026-05-13T19:53:47.922Z

Link: CVE-2026-46391

cve-icon Vulnrichment

Updated: 2026-06-08T16:18:29.863Z

cve-icon NVD

Status : Deferred

Published: 2026-06-05T19:16:33.007

Modified: 2026-06-08T17:16:50.563

Link: CVE-2026-46391

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-07T11:16:10Z

Weaknesses
  • CWE-183

    Permissive List of Allowed Inputs

  • CWE-918

    Server-Side Request Forgery (SSRF)