Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. elmsln/haxcms
  4. ›
  5. CVE-2025-49138

CVE-2025-49138: HAX CMS vulnerable to Local File Inclusion via saveOutline API Location Parameter

June 9, 2025

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).

References

  • github.com/advisories/GHSA-hxrr-x32w-cg8g
  • github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php
  • github.com/haxtheweb/issues
  • github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g
  • nvd.nist.gov/vuln/detail/CVE-2025-49138

Code Behaviors & Features

Detect and mitigate CVE-2025-49138 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 11.0.0

Fixed versions

  • 11.0.0

Solution

Upgrade to version 11.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

packagist/elmsln/haxcms/CVE-2025-49138.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:00 +0000.