CVE-2025-49141
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.
How to fix
- psu haxcms-nodejs11.0.3 or later
- psu haxcms-php11.0.0 or later
- @haxtheweb/haxcms-nodejs11.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| psu haxcms-nodejs | v < 11.0.3 | 11.0.3 |
| psu haxcms-php | v < 11.0.0 | 11.0.0 |
| @haxtheweb/haxcms-nodejsnpm | v < 11.0.3 | 11.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.