CVE-2026-40330

Source
https://cve.org/CVERecord?id=CVE-2026-40330
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40330.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40330
Aliases
  • GHSA-56cc-gxfr-hqp8
Published
2026-05-05T19:46:03Z
Modified
2026-08-12T03:51:09Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Masa CMS SQL injection via sortDirection parameter in beanFeed
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-89"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40330.json"
}
References

Affected packages

Git / github.com/masacms/masacms

Affected ranges

Type
GIT
Repo
https://github.com/masacms/masacms
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "7.2.0"
        },
        {
            "fixed":  "7.2.9"
        },
        {
            "introduced":  "7.3.0"
        },
        {
            "fixed":  "7.3.14"
        },
        {
            "introduced":  "7.4.0"
        },
        {
            "fixed":  "7.4.9"
        },
        {
            "introduced":  "7.5.0"
        },
        {
            "fixed":  "7.5.2"
        }
    ],
    "source":  "DESCRIPTION"
}

Affected versions

7.*
7.2.0
7.2.1
7.2.2
7.2.3
7.2.4
7.2.5
7.2.6
7.2.7
7.2.8
7.3
7.3.1
7.3.10
7.3.11
7.3.12
7.3.13
7.3.2
7.3.3
7.3.4
7.3.5
7.3.6
7.3.7
7.3.8
7.3.9
7.4.0
7.4.1
7.4.2
7.4.3
7.4.4
7.4.6
7.4.7
7.4.8
7.5.0
7.5.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40330.json"