CVE-2026-46397

haxcms-php Local File Inclusion via saveOutline API Location Parameter v2.0

Published Jun 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an Authenticated Local File Inclusion (LFI) vulnerability in the HAXCMS saveOutline endpoint allows a low-privileged user to read arbitrary files on the server by manipulating the location field written into site.json. This enables attackers to exfiltrate sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server (www-data). Version 26.0.0 patches the issue.

Analysis

AI-generated

Technical impact

The HAX CMS system exposes an authenticated local file inclusion flaw in the saveOutline endpoint. By manipulating the location parameter that is written into site.json, a low‑privileged authenticated user can read arbitrary files on the server. This includes sensitive files such as /etc/passwd, application secrets, or other configuration files accessible to the web server process. The flaw does not allow code execution, but it provides an easy means to exfiltrate confidential information. The weakness is a classic path traversal issue, classified as CWE‑22 and CWE‑73.

Affected Systems

Vendors affected are haxtheweb, with HAXCMS backends implemented in both PHP and Node.js. Any deployment of either HAXCMS‑nodejs or HAXCMS‑php running a version earlier than 26.0.0 is vulnerable. The issue is fixed in version 26.0.0 of both frameworks.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity, with an impact on confidentiality through information disclosure. Because the vulnerability requires authentication, the attack surface is limited to users who can authenticate to the CMS; a low‑privileged user can still exploit the flaw. EPSS data is not available, so the current exploitation probability is unknown. The vulnerability is not listed in CISA's KEV catalog, suggesting no known widespread exploitation. Based on the description, the likely attack vector is via the authenticated API endpoint saveOutline, where an attacker crafts a location value that navigates to arbitrary paths relative to the site.json file, causing the CMS to expose the contents of those files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to HAXCMS v26.0.0 or later.
  • Limit access to the saveOutline API strictly to privileged users and enforce proper authentication.
  • Implement input validation to reject location parameters containing path traversal sequences such as '..' or absolute paths.
  • Review and harden file permissions on the server so that the web server user (www-data) has read access only to required files.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php
Vendors & Products Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php
Type Values Removed Values Added
Description HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an Authenticated Local File Inclusion (LFI) vulnerability in the HAXCMS saveOutline endpoint allows a low-privileged user to read arbitrary files on the server by manipulating the location field written into site.json. This enables attackers to exfiltrate sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server (www-data). Version 26.0.0 patches the issue.
Title haxcms-php Local File Inclusion via saveOutline API Location Parameter v2.0
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 8, 2026, 4:19 PM
Reserved
May 13, 2026, 9:04 PM
Status
Deferred
Published
Jun 5, 2026, 8:17 PM
Modified
Jul 23, 2026, 7:10 AM