Command Injection Affecting @haxtheweb/haxcms-nodejs package, versions <11.0.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.54% (67th 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 Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-HAXTHEWEBHAXCMSNODEJS-10494090
  • published23 Jun 2025
  • disclosed9 Jun 2025
  • creditUnknown

Introduced: 9 Jun 2025

NewCVE-2025-49141  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade @haxtheweb/haxcms-nodejs to version 11.0.3 or higher.

Overview

@haxtheweb/haxcms-nodejs is a HAXcms nodejs backend

Affected versions of this package are vulnerable to Command Injection through the gitImportSite functionality which obtains and processes a URL string from a POST request. An attacker can execute arbitrary OS commands on the backend server by crafting a URL that bypasses the insufficient validation checks employed by the filter_var and strpos functions.

CVSS Base Scores

version 4.0
version 3.1