CVE-2026-40329: Masa CMS - SQL Injection
- Cve: CVE-2026-40329
- Name: Masa CMS - SQL Injection
- Description: Masa CMS is an open source content management system. In versions 7.5.2 and earlier, a SQL injection vulnerability exists in the beanFeed.cfc component within the getQuery function's processing of the sortBy parameter. The application fails to properly sanitize or parameterize this input before incorporating it into dynamic SQL statements. An unauthenticated remote attacker can execute arbitrary SQL commands against the database, potentially gaining access to sensitive data, modifying or deleting records, or escalating privileges to administrative control. This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, configure WAF rules to block malicious SQL patterns in the sortBy parameter sent to beanFeed.cfc.
- Impact: Unauthenticated attackers can execute arbitrary SQL commands, potentially accessing, modifying, or deleting sensitive data and escalating privileges.
- Remediation: Update to versions 7.2.10, 7.3.15, 7.4.10, 7.5.3 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: remote_code_execution, information_disclosure, data_tampering, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.3
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00302
- Epss percentile: 0.23303
- Assignee: [email protected]
- Published at: 2026-05-05T20:16:38Z
- Age in days: 203
- Modified at: 2026-07-24T21:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40329
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-3xpq-q494-8qq4 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| masacms:masacms | >= 7.5.0, <= 7.5.2; >= 7.4.0, <= 7.4.9; >= 7.3.0, <= 7.3.14; < 7.2.10 | no | cna_alias_text | /v1/products/masacms/masacms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| MasaCMS/MasaCMS | security_advisory | yes | /v1/repositories/MasaCMS/MasaCMS |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 90
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports