Skip to main content

Masa CMS CVE-2026-40331

| EUVDEUVD-2026-27482 CRITICAL
SQL Injection (CWE-89)
2026-05-05 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Masa CMS JSON API endpoint
  2. Delivery
    Craft HTTP request with malicious altTable subquery
  3. Exploit
    SQL injection executes in feedGateway.cfc
  4. Execution
    Extract admin credentials/tokens from response
  5. Persist
    Authenticate as administrator
  6. Impact
    Full CMS compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

JSON API must be enabled (default configuration in Masa CMS). No authentication required (PR:N). The vulnerable setAltTable() method is invoked when processing feed requests that include an altTable parameter, which is a documented API feature. Exploitation succeeds against any internet-accessible or internal Masa CMS installation within the affected version ranges where the JSON API endpoints are reachable. No special ColdFusion server configuration, non-default settings, or user interaction required - this is remote unauthenticated exploitation against default configurations of Masa CMS 7.2.0-7.5.2.

Impact

This represents CRITICAL real-world risk despite absence from CISA KEV. The CVSS 9.3 score accurately reflects severity: network-accessible (AV:N), low complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), and high confidentiality/integrity/availability impact. The vulnerability enables single-request data exfiltration of administrative credentials and password reset tokens - sufficient for full system compromise. Attack complexity is genuinely low because the JSON API is a documented feature and the altTable parameter is explicitly named in the advisory. The GitHub Security Advisory provides a clear attack vector description, significantly lowering the barrier to exploitation. While EPSS data is not available and no POC is publicly confirmed, the technical disclosure in GHSA-jphh-r686-6w7j is detailed enough that skilled attackers can develop exploits within hours. The unauthenticated nature and credential theft capability make this a priority for immediate patching, particularly for internet-facing Masa CMS installations with the JSON API enabled.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP request to the Masa CMS JSON API endpoint with a malicious altTable parameter containing a SQL subquery: altTable=(SELECT password FROM tusers WHERE username='admin'). The feedGateway.cfc component injects this directly into a FROM clause, executing the subquery and returning administrative password hashes in the API response. The attacker extracts the admin password hash or reset token, cracks it offline if hashed, and uses the credentials to fully compromise the CMS. No prior authentication, special access, or user interaction is required. The GitHub advisory provides sufficient technical detail for experienced attackers to craft working exploits.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

SQL injection in Masa CMS 7.2.x through 7.5.2 allows unauthenticated remote attackers to extract sensitive database contents including administrative credentials and password reset tokens. The JSON API accepts unsanitized altTable parameters that are directly interpolated into SQL FROM clauses, enabling arbitrary subquery injection via feedGateway.cfc in a single HTTP request. CVSS 9.3 (Critical) with network vector, low complexity, and no authentication required. No public exploit or CISA KEV listing identified at time of analysis, but the technical details disclosed in the GitHub Security Advisory provide sufficient information for weaponization.

RemediationAI

Upgrade to Masa CMS 7.2.10, 7.3.15, 7.4.10, or 7.5.3 depending on your current major.minor version branch as documented in https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-jphh-r686-6w7j. If immediate patching is not feasible, apply input validation to the setAltTable() function in core/mura/content/feed/feedBean.cfc to whitelist only alphanumeric table names using a regex pattern like ^[a-zA-Z0-9_]+$ and reject any input containing SQL syntax characters (spaces, parentheses, commas, quotes). Alternatively, disable the JSON API entirely if it is not required for business operations by removing or blocking access to the relevant API endpoints at the web server or application firewall level - note this will break any integrations dependent on the JSON API. Test the validation or API disablement thoroughly in a staging environment before production deployment, as overly restrictive validation may break legitimate table name references.

Affected VersionsENISA

MasaCMS ≤ 7.2.9
MasaCMS 7.5.0, ≤ 7.5.2
MasaCMS 7.3.0, ≤ 7.3.14
MasaCMS 7.4.0, ≤ 7.4.9

Affected Packages

euvd masacms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Masa CMS is a CFML-based (ColdFusion Markup Language) open-source content management system. The vulnerability resides in the feed component's feedBean.cfc file, which implements a setAltTable() method for the JSON API. This method accepts user-controlled input via the altTable parameter without validation or parameterization and injects it directly into SQL FROM clauses within feedGateway.cfc. This is a classic first-order SQL injection (CWE-89) where attacker input flows directly from HTTP request to database query construction. The CFML query interface does not automatically parameterize dynamic table names, making this a common anti-pattern in legacy ColdFusion applications. The affected CPE (cpe:2.3:a:masacms:masacms) indicates this is the core MasaCMS product, not a third-party plugin.

Know when Masacms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 05, 2026 - 20:22 NVD
9.3 (CRITICAL)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Masa CMS versions 7.2.x through 7.5.2 contain a critical unauthenticated SQL injection vulnerability that allows remote attackers to extract administrative credentials and password reset tokens directly from the database without authentication. Organizations running affected versions face immediate risk of account compromise and unauthorized administrative access, potentially enabling full system takeover.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to feedGateway.cfc endpoint to trusted IP ranges only; (2) Deploy WAF rules to block HTTP requests with 'altTable' parameters; (3) Monitor database access logs for suspicious query patterns; (4) Implement IP-based rate limiting on the vulnerable endpoint; (5) Consider disabling the JSON API entirely if not operationally required until patch deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy