CVE-2026-40330
JSON

9.3critical

Masa CMS SQL injection via sortDirection parameter in beanFeed

Severity
9.3critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
MasaCMS MasaCMS<= 7.2.9, >= 7.3.0, <= 7.3.14, >= 7.4.0, <= 7.4.9, >= 7.5.0, <= 7.5.2CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Masa CMS es un sistema de gestión de contenido de código abierto. En las versiones 7.2.0 a 7.2.9, 7.3.0 a 7.3.14, 7.4.0 a 7.4.9, y 7.5.0 a 7.5.2, existe una vulnerabilidad de inyección SQL en el componente beanFeed.cfc dentro del manejo del parámetro sortDirection de la función getQuery. El valor del parámetro se concatena directamente en las consultas SQL sin sanitización ni parametrización. Un atacante remoto no autenticado puede explotar esto para extraer información sensible, modificar o eliminar registros de la base de datos, o potencialmente lograr ejecución remota de código en el servidor de base de datos subyacente. Este problema ha sido solucionado en las versiones 7.2.10, 7.3.15, 7.4.10 y 7.5.3. Como solución alternativa, use un WAF para bloquear o restringir el acceso al componente beanFeed.cfc, o implemente reglas para detectar patrones de inyección SQL dirigidos al parámetro sortDirection.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40330 changed 2026-05-06CVE Terms of Use
NVDCVE-2026-40330 changed 2026-07-24Public domain