{"id":"CVE-2025-49141","published":"2025-06-09T21:11:08Z","modified":"2025-06-10T15:29:29Z","title":"HaxCMS-PHP Command Injection Vulnerability","vendor":"haxtheweb","product":"issues","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02909,"percentile":0.8771,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3","tags":["x_refsource_MISC"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":17.54},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"haxtheweb","affectedVersions":[{"vendor":"haxtheweb","product":"issues","versions":["< 11.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-06-10T15:09:25.929196Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@haxtheweb/haxcms-nodejs","vulnerableRanges":["<11.0.3"],"patched":["11.0.3"],"from":["GHSA-g4cf-pp4x-hqgw"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection in the gitImportSite functionality of HAX CMS PHP (the haxtheweb project's issues component), where a URL string from a POST request is insufficiently validated before the set_remote function passes it to proc_open. An authenticated attacker who crafts a URL that bypasses the filter_var and strpos checks can run arbitrary OS commands on the backend server and exfiltrate the output over HTTP, with no network position beyond authenticated access and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:25Z"},"euvd":{"id":"EUVD-2025-17578","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-haxtheweb-issues-cve-2025-49137","children":[{"from":"CVE-2025-49141","to":"CVE-2025-54128","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/lib/RoutesMap.js","src/routes/connectionSettings.js"],"commits":["https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3","https://github.com/haxtheweb/haxcms-nodejs/commit/ddb9351c6d6418008d4084a5b17fd6d611bc4e30"],"basis":"shared function","functions":["connectionSettings"]}]},{"from":"CVE-2025-49141","to":"CVE-2025-54378","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/openapi/spec.json","src/routes/connectionSettings.js"],"commits":["https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3","https://github.com/haxtheweb/haxcms-nodejs/commit/5826e9b7f3d8c7c7635411768b86b199fad36969"],"basis":"shared function","functions":["connectionSettings"]}]}],"packageHistory":[{"cve":"CVE-2025-49139","published":"2025-06-09","fixed":"11.0.0","kev":false,"link":{"from":"CVE-2025-49139","to":"CVE-2025-49141","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@haxtheweb/haxcms-nodejs","fromFixed":"11.0.0","toFixed":"11.0.3","daysApart":0}]}},{"cve":"CVE-2025-49141","published":"2025-06-09","fixed":"11.0.3","kev":false},{"cve":"CVE-2025-54127","published":"2025-07-21","fixed":"11.0.7","kev":false,"link":{"from":"CVE-2025-49141","to":"CVE-2025-54127","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@haxtheweb/haxcms-nodejs","fromFixed":"11.0.3","toFixed":"11.0.7","daysApart":42}]}},{"cve":"CVE-2025-54128","published":"2025-07-21","fixed":"11.0.8","kev":false},{"cve":"CVE-2025-54134","published":"2025-07-21","fixed":"11.0.9","kev":false}],"package":"npm:@haxtheweb/haxcms-nodejs"}}