External Control of File Name or Path Affecting elmsln/haxcms package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-ELMSLNHAXCMS-10368411
  • published18 Jun 2025
  • disclosed9 Jun 2025
  • creditUnknown

Introduced: 9 Jun 2025

NewCVE-2025-49138  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

There is no fixed version for elmsln/haxcms.

Overview

elmsln/haxcms is a Headless CMS for managing and publishing hybrid static, web component driven sites.

Affected versions of this package are vulnerable to External Control of File Name or Path via the location parameter in the saveOutline API endpoint. An attacker can read arbitrary files on the server by manipulating the location field to include relative path traversal sequences. This is only exploitable if the attacker has authenticated access to the CMS.

CVSS Base Scores

version 4.0
version 3.1