6.5
MEDIUM CVSS 3.1
CVE-2025-49138
HAX CMS Local File Inclusion Vulnerability
Description

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.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). The vulnerability stems from the way the HAXCMS backend handles the location field in the site's outline. When a user sends a POST request to /system/api/saveOutline, the backend stores the provided location value directly into the site.json file associated with the site, without validating or sanitizing the input. Later the location parameter is interpreted by the CMS to resolve and load the content for a given node. If the location field contains a relative path like `../../../etc/passwd`, the application will attempt to read and render that file. Version 11.0.0 fixes the issue.

INFO

Published Date :

June 9, 2025, 9:15 p.m.

Last Modified :

July 30, 2025, 5:35 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-49138 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Haxtheweb hax
2 Haxtheweb haxcms-php
1 Psu haxcms-nodejs
2 Psu haxcms-php
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-49138.

URL Resource
https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php#L1248 Product
https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g Exploit Third Party Advisory
https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-49138 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-49138 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-49138 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Reanalysis by [email protected]

    Jul. 30, 2025

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:haxtheweb:haxcms-php:*:*:*:*:*:*:*:* versions up to (excluding) 11.0.0 OR *cpe:2.3:a:psu:haxcms-php:*:*:*:*:*:*:*:* versions up to (excluding) 11.0.0
  • Initial Analysis by [email protected]

    Jun. 20, 2025

    Action Type Old Value New Value
    Added CWE NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:haxtheweb:haxcms-php:*:*:*:*:*:*:*:* versions up to (excluding) 11.0.0
    Added Reference Type GitHub, Inc.: https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php#L1248 Types: Product
    Added Reference Type GitHub, Inc.: https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g Types: Exploit, Third Party Advisory
    Added Reference Type CISA-ADP: https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g Types: Exploit, Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 10, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g
  • New CVE Received by [email protected]

    Jun. 09, 2025

    Action Type Old Value New Value
    Added Description HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.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). The vulnerability stems from the way the HAXCMS backend handles the location field in the site's outline. When a user sends a POST request to /system/api/saveOutline, the backend stores the provided location value directly into the site.json file associated with the site, without validating or sanitizing the input. Later the location parameter is interpreted by the CMS to resolve and load the content for a given node. If the location field contains a relative path like `../../../etc/passwd`, the application will attempt to read and render that file. Version 11.0.0 fixes the issue.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-22
    Added CWE CWE-73
    Added Reference https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php#L1248
    Added Reference https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact