CVE-2025-49138
PHP vulnerability analysis and mitigation

Overview

HAX CMS PHP contains an authenticated Local File Inclusion (LFI) vulnerability (CVE-2025-49138) discovered in June 2025. The vulnerability affects versions prior to 11.0.0 and exists in the HAXCMS saveOutline endpoint, allowing low-privileged users to read arbitrary files on the server by manipulating the location field written into site.json (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of 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 without validation or sanitization. The location parameter is later interpreted by the CMS to resolve and load content for a given node, allowing path traversal attacks. The vulnerability has been classified under CWE-73 (External Control of File Name or Path) and CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). It has been assigned a CVSS score of 6.5 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (GitHub Advisory).

Impact

The vulnerability enables attackers to exfiltrate sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server (www-data). The CVSS scoring indicates high impact on confidentiality while integrity and availability remain unaffected (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 11.0.0 of HAX CMS PHP. Organizations are advised to upgrade to this version or later to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management