CVE-2025-49141
HIGH 8.8CVSS 3.1HaxCMS-PHP Command Injection Vulnerability
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.
- Published
- 9 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-g4cf-pp4x-hqgw
- Sources
- NVDJSONOSV GHSA-g4cf-pp4x-hqgwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | psu | haxcms-nodejscpe:2.3:a:psu:haxcms-nodejs:*:*:*:*:*:node.js:*:* |
< 11.0.3 | 11.0.3 |
| NVD | psu | haxcms-phpcpe:2.3:a:psu:haxcms-php:*:*:*:*:*:*:*:* |
< 11.0.0 | 11.0.0 |
| OSV | npm | @haxtheweb/haxcms-nodejs | < 11.0.3 | 11.0.3 |
References
- https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3 · Patch, WEB
- https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-49141 · ADVISORY
- https://github.com/haxtheweb/haxcms-nodejs · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Jun 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2025)