Vulnerability details
CVE-2026-40329
SQL Injection vulnerability via sortBy in beanFeed
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.3Critical | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| MasaCMS | MasaCMS | < 7.2.10 | CVEProject cvelistV5 (CNA) |
| MasaCMS | MasaCMS | >= 7.3.0, <= 7.3.14 | CVEProject cvelistV5 (CNA) |
| MasaCMS | MasaCMS | >= 7.4.0, <= 7.4.9 | CVEProject cvelistV5 (CNA) |
| MasaCMS | MasaCMS | >= 7.5.0, <= 7.5.2 | CVEProject cvelistV5 (CNA) |
References and advisories
1- https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-3xpq-q494-8qq4 x_refsource_CONFIRM
Details
- Published
- 2026-05-05
- Last updated
- 2026-05-06
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')