Medium severity · published Jun 9, 2025
CVE-2025-49138
HAX CMS vulnerable to Local File Inclusion via saveOutline API Location Parameter
6.5
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IS
issues · haxtheweb
< 11.0.0 · source: vendor
HA
Haxcms-php · Psu
before 11.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49138
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49138
Product
https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php#L1248
Exploit
https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g
More from issues
9.9
CVE-2025-32028
HAX CMS PHP allows Insecure File Upload to Lead to Remote Code Execution
9.8
CVE-2025-54127
HAXcms's Insecure Default Configuration Leads to Unauthenticated Access
8.8
CVE-2025-49141
HaxCMS-PHP Command Injection Vulnerability
8.3
CVE-2025-54378
HAX CMS Backend Lacks Comprehensive Authorization Checks
7.3
CVE-2025-54137
NodeJS version of the HAX CMS application is distributed with Default Secrets
