Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-40331 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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, the unauthenticated JSON API accepts an altTable parameter that is stored via the setAltTable() method without validation or sanitization. This value is injected directly into a SQL FROM clause within feedGateway.cfc. An unauthenticated attacker can pass an arbitrary subquery into the altTable parameter to read sensitive data from any table in the database in a single HTTP request, including administrative credentials and password reset tokens. This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, apply validation to the setAltTable function in core/mura/content/feed/feedBean.cfc to restrict input to simple alphanumeric table names, or disable the JSON API if it is not required.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')[email protected]

Affected Products

ProductVersions
Masa CMS
<= 7.5.2 (semver)

CPE

  • cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 7.5.3moderate effort
  • Upgrade: 7.4.10moderate effort
  • Upgrade: 7.3.15moderate effort
  • Upgrade: 7.2.10moderate effort
  • Workaround:low effort

    Disable the JSON API if it is not required for your business operations.

  • Workaround:low effort

    Configure Web Application Firewall (WAF) rules to monitor and block requests to the JSON API that contain SQL keywords (e.g., SELECT, FROM, UNION) within the altTable URL parameter.

  • Workaround:low effort

    Apply validation to the setAltTable function in core/mura/content/feed/feedBean.cfc to ensure the input is restricted to simple alphanumeric table names: public function setAltTable(any altTable) { if (len(arguments.altTable) && REFind("^[a-zA-Z_][a-zA-Z0-9_]*$", arguments.altTable)) { variables.instance.altTable = arguments.altTable; } }

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-40331
NVD Published Date:
May 5, 2026
NVD Last Modified:
Jul 24, 2026
Source:
[email protected]
CVE-2026-40331 Details - Not Deferred