{"id":"CVE-2025-49141","summary":"HaxCMS-PHP Command Injection Vulnerability","details":"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.","aliases":["GHSA-g4cf-pp4x-hqgw"],"modified":"2026-10-22T10:33:37.540332972Z","published":"2025-06-09T21:11:08.889Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49141.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49141.json"},{"type":"ADVISORY","url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49141"},{"type":"FIX","url":"https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/haxtheweb/haxcms-nodejs","events":[{"introduced":"0"},{"fixed":"150773eb8b5abd97fa8eacdd74d21bd2d2da4c62"},{"fixed":"20efb09f99720e255d3ec0d134213d029b0db216"},{"fixed":"5131fea6b6be611db76a618f89bd2e164752e9b3"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:psu:haxcms-nodejs:*:*:*:*:*:node.js:*:*","range":[{"introduced":"0"},{"fixed":"11.0.3"}]},{"range":[{"introduced":"0"},{"fixed":"11.0.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:psu:haxcms-php:*:*:*:*:*:*:*:*"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5131fea6b6be611db76a618f89bd2e164752e9b3"}]}]}}],"versions":["v10.0.6","v10.0.5","v10.0.4","v10.0.3","v10.0.2","v10.0.1","10.0.0","v9.0.21","v9.0.20","v9.0.19","v9.0.18","v9.0.17","v9.0.16","v9.0.15","v9.0.14","v9.0.13","v9.0.12","v9.0.11","v9.0.10","v9.0.9","v9.0.8","v9.0.7","v9.0.6","v9.0.5","v9.0.4","v9.0.3","v9.0.2","v9.0.1","v9.0.0","v9.0.0-alpha.1","v9.0.0-alpha.0","v0.0.19","v0.0.18","v0.0.17","v0.0.16","v0.0.15","v0.0.14","v0.0.13","v0.0.12","v0.0.11","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-49141.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}