Skip to content

CVE-2025-49141 HaxCMS-PHP Command Injection Vulnerability

HighCVSS 8.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHP

Description

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.3, the gitImportSite functionality obtains a URL string from a POST request and insufficiently validates user input. The set_remote function later passes this input into proc_open, yielding OS command injection. An authenticated attacker can craft a URL string that bypasses the validation checks employed by the filter_var and strpos functions in order to execute arbitrary OS commands on the backend server. The attacker can exfiltrate command output via an HTTP request. Version 11.0.3 contains a patch for the issue.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
haxtheweb @haxtheweb/haxcms-nodejs(npm) < 11.0.3 11.0.3 Fixed
psu haxcms-nodejs < 11.0.3 11.0.3 Fixed
psu haxcms-php < 11.0.0 11.0.0 Fixed
haxtheweb issues = < 11.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
haxtheweb @haxtheweb/haxcms-nodejs(npm) < 11.0.3 11.0.3
haxtheweb issues = < 11.0.3 No fix listed
psu haxcms-nodejs < 11.0.3 11.0.3
psu haxcms-php < 11.0.0 11.0.0

References