Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40331— Masa CMS unauthenticated SQL injection via altTable parameter in JSON API

Quick assessment

Affected
MasaCMS MasaCMS
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Masa CMS是一个数字体验平台。 Masa CMS存在SQL注入漏洞,该漏洞源于未经验证的JSON API接受altTable参数并通过setAltTable方法存储,可能导致未经身份验证的攻击者通过任意子查询读取敏感数据。以下版本受到影响:7.2.0版本至7.2.9版本、7.3.0版本至7.3.14版本、7.4.0版本至7.4.9版本和7.5.0版本至7.5.2版本。

AI Predicted 9.8 Difficulty: Easy EPSS 0.54% · P44

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
MasaCMS MasaCMS <= 7.2.9 affected
>= 7.3.0, <= 7.3.14 affected
>= 7.4.0, <= 7.4.9 affected
>= 7.5.0, <= 7.5.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40331

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Masa CMS unauthenticated SQL injection via altTable parameter in JSON API
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Masa CMS SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Masa CMS是一个数字体验平台。 Masa CMS存在SQL注入漏洞,该漏洞源于未经验证的JSON API接受altTable参数并通过setAltTable方法存储,可能导致未经身份验证的攻击者通过任意子查询读取敏感数据。以下版本受到影响:7.2.0版本至7.2.9版本、7.3.0版本至7.3.14版本、7.4.0版本至7.4.9版本和7.5.0版本至7.5.2版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
MasaCMS MasaCMS <= 7.2.9 -

II. Public POCs for CVE-2026-40331

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40331

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40331 (1)

Same Patch Batch · MasaCMS · 2026-05-05 · 3 CVEs total

CVE-2026-40329 SQL Injection vulnerability via sortBy in beanFeed
CVE-2026-40330 Masa CMS SQL injection via sortDirection parameter in beanFeed

IV. Related Vulnerabilities

V. Comments for CVE-2026-40331

No comments yet


Leave a comment