CVE-2026-40330
published critical CVSS 4.0 · 9.3Masa CMS SQL injection via sortDirection parameter in beanFeed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MasaCMS | — | MasaCMS<= 7.2.9 · >= 7.3.0, <= 7.3.14 · >= 7.4.0, <= 7.4.9 · >= 7.5.0, <= 7.5.2 | Affected | Not stated | GitHub_M |
Description
Masa CMS is an open source content management system. In versions 7.2.0 through 7.2.9, 7.3.0 through 7.3.14, 7.4.0 through 7.4.9, and 7.5.0 through 7.5.2, a SQL injection vulnerability exists in the beanFeed.cfc component within the getQuery function's handling of the sortDirection parameter. The parameter value is concatenated directly into SQL queries without sanitization or parameterization. An unauthenticated remote attacker can exploit this to extract sensitive information, modify or delete database records, or potentially achieve remote code execution on the underlying database server. This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, use a WAF to block or restrict access to the beanFeed.cfc component, or deploy rules to detect SQL injection patterns targeting the sortDirection parameter.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MasaCMS | MasaCMS | <= 7.2.9 (affected)>= 7.3.0, <= 7.3.14 (affected)>= 7.4.0, <= 7.4.9 (affected)>= 7.5.0, <= 7.5.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
1Provider assertions
2GitHub_M · cna
Masa CMS SQL injection via sortDirection parameter in beanFeed
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c12c55bbc100254c761e80e92d97c0d4ca3fe3bb67883ace7c098cc0f9fb41d
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record