CVE-2011-5061 in Whmcs Whmcompletesolution
functions.php in WHMCompleteSolution (WHMCS) 4.0.x through 5.0.x allows remote attackers to trigger arbitrary code execution in the Smarty templating system by submitting a crafted ticket, related to improper handling of characters in the subject field.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Whmcs | Whmcompletesolution | 4.0.0 4.0.1 4.0.2 4.1.0 4.1.1 4.1.2+14 more4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2 5.0.0 5.0.1 5.0.2 5.0.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
functions.php in WHMCompleteSolution (WHMCS) 4.0.x through 5.0.x allows remote attackers to trigger arbitrary code execution in the Smarty templating system by submitting a crafted ticket, related to improper handling of characters in the subject field.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2011-5061 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-089708-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2012-01-14 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A high severity vulnerability affects Whmcs systems (CVE-2011-5061). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: functions.php in WHMCompleteSolution (WHMCS) 4.0.x through 5.0.x allows remote attackers to trigger arbitrary code execution in the Smarty templating system by submitting a crafted ticket, related to improper handling of characters in the subject field. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2011-5061?
This vulnerability was disclosed in 2012. A high severity vulnerability affects Whmcs systems (CVE-2011-5061). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2011-5061?
CVE-2011-5061 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 2.2%.
Is CVE-2011-5061 actively exploited?
No confirmed active exploitation of CVE-2011-5061 as of 2026-09-25.
How do I remediate CVE-2011-5061?
Priority: MEDIUM. Advisory: http://forum.whmcs.com/showthread.php?t=43462
What systems are affected by CVE-2011-5061?
CVE-2011-5061 affects Whmcs Whmcompletesolution.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Whmcs","product":"Whmcompletesolution","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.