CVE-2026-40329 PUBLISHED

SQL Injection vulnerability via sortBy in beanFeed

Assigner: GitHub_M
Reserved: 10.04.2026 Published: 05.05.2026 Updated: 05.05.2026

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.

Metrics

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
CVSS Score: 9.3

Product Status

Vendor MasaCMS
Product MasaCMS
Versions
  • Version < 7.2.10 is affected
  • Version >= 7.3.0, <= 7.3.14 is affected
  • Version >= 7.4.0, <= 7.4.9 is affected
  • Version >= 7.5.0, <= 7.5.2 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE