CVE-2026-46391: CWE-183: Permissive List of Allowed Inputs in haxtheweb @haxtheweb/open-apis
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.
AI Analysis
Technical Summary
The vulnerability arises from improper hostname validation in multiple functions of @haxtheweb/open-apis versions >=9.0.1 and <26.0.0. These functions use substring-only matching to determine if basic authorization credentials should be sent to a hostname. Because substring matching is insufficiently strict, an attacker can craft a hostname that includes a valid substring but points to an attacker-controlled endpoint, thereby capturing authentication credentials. This is a CWE-183 (Permissive List of Allowed Inputs) and CWE-918 (Server-Side Request Forgery) related issue. The problem is resolved in version 26.0.0 of the package.
Potential Impact
An attacker can exploit the permissive hostname validation to redirect authentication credentials to attacker-controlled endpoints, potentially leading to credential theft. This compromises the confidentiality of basic authorization credentials used by the application. The vulnerability has a CVSS 4.0 score of 8.7, indicating a high impact on affected systems. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Upgrade @haxtheweb/open-apis to version 26.0.0 or later, where the hostname validation issue is fixed. Since the vulnerability is resolved in this version, applying this official fix is the recommended remediation. Patch status is not explicitly stated beyond the version fix; therefore, confirm with the vendor advisory for any additional guidance.
CVE-2026-46391: CWE-183: Permissive List of Allowed Inputs in haxtheweb @haxtheweb/open-apis
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.
CVSS v4.0
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper hostname validation in multiple functions of @haxtheweb/open-apis versions >=9.0.1 and <26.0.0. These functions use substring-only matching to determine if basic authorization credentials should be sent to a hostname. Because substring matching is insufficiently strict, an attacker can craft a hostname that includes a valid substring but points to an attacker-controlled endpoint, thereby capturing authentication credentials. This is a CWE-183 (Permissive List of Allowed Inputs) and CWE-918 (Server-Side Request Forgery) related issue. The problem is resolved in version 26.0.0 of the package.
Potential Impact
An attacker can exploit the permissive hostname validation to redirect authentication credentials to attacker-controlled endpoints, potentially leading to credential theft. This compromises the confidentiality of basic authorization credentials used by the application. The vulnerability has a CVSS 4.0 score of 8.7, indicating a high impact on affected systems. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Upgrade @haxtheweb/open-apis to version 26.0.0 or later, where the hostname validation issue is fixed. Since the vulnerability is resolved in this version, applying this official fix is the recommended remediation. Patch status is not explicitly stated beyond the version fix; therefore, confirm with the vendor advisory for any additional guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T19:53:47.922Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a231d8ae29bf47b50a9833d
Added to database: 6/5/2026, 7:03:38 PM
Last enriched: 6/5/2026, 7:19:12 PM
Last updated: 6/6/2026, 6:55:34 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.