{"id":"CVE-2026-40330","aliases":["CVE-2026-40330"],"related":[],"kind":"vulnerability","state":"published","title":"Masa CMS SQL injection via sortDirection parameter in beanFeed","summary":"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.\n\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThis 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.","source":"cvelist"},{"lang":"es","text":"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.\n\nEste 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.","source":"nvd"}],"published":"2026-05-05T19:46:03.832Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"<= 7.2.9","status":"affected"},{"version":">= 7.3.0, <= 7.3.14","status":"affected"},{"version":">= 7.4.0, <= 7.4.9","status":"affected"},{"version":">= 7.5.0, <= 7.5.2","status":"affected"}],"vendor":"MasaCMS","product":"MasaCMS","source":"cvelist"}],"references":[{"url":"https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-56cc-gxfr-hqp8","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-06T12:22:46.186Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40330","url":"https://www.cve.org/CVERecord?id=CVE-2026-40330","licence":"CVE Terms of Use","modified":"2026-05-06T12:22:53.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40330","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40330","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:20.642Z","epss":{"score":0.00425,"percentile":0.38695,"date":"2026-12-01T12:00:22.000Z"}}