# CVE-2025-49141: HaxCMS-PHP Command Injection Vulnerability

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-09T20:30:34.000Z
- Modified: 2026-09-10T03:50:25.291Z
- Also known as: GHSA-g4cf-pp4x-hqgw
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- haxtheweb issues: < 11.0.3
- @haxtheweb/haxcms-nodejs (npm): before 11.0.3
- psu haxcms-nodejs: before 11.0.3
- psu haxcms-php: before 11.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/haxtheweb/haxcms-nodejs/commit/5131fea6b6be611db76a618f89bd2e164752e9b3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49141> (advisory)
- <https://github.com/haxtheweb/haxcms-nodejs> (package)

## Sources

- CVE List: [CVE-2025-49141](https://www.cve.org/CVERecord?id=CVE-2025-49141), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-g4cf-pp4x-hqgw](https://github.com/advisories/GHSA-g4cf-pp4x-hqgw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-49141](https://nvd.nist.gov/vuln/detail/CVE-2025-49141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49141 · Whole record: https://cve.day/CVE-2025-49141.json · Rebuilt by cve.day 2026-11-25T22:58:58.977Z
