{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-32272",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-03-11T15:05:48.400Z",
        "datePublished": "2026-04-13T20:25:50.420Z",
        "dateUpdated": "2026-04-14T16:28:47.197Z"
    },
    "containers": {
        "cna": {
            "title": "Craft Commerce: Blind SQL Injection via hasVariant/hasProduct",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.7,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r"
                },
                {
                    "name": "https://github.com/craftcms/commerce/pull/4232",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/craftcms/commerce/pull/4232"
                },
                {
                    "name": "https://github.com/advisories/GHSA-2453-mppf-46cj",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/advisories/GHSA-2453-mppf-46cj"
                },
                {
                    "name": "https://github.com/craftcms/commerce/releases/tag/5.6.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/craftcms/commerce/releases/tag/5.6.0"
                }
            ],
            "affected": [
                {
                    "vendor": "craftcms",
                    "product": "commerce",
                    "versions": [
                        {
                            "version": ">= 5.0.0 < 5.6.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-04-13T20:25:50.420Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Craft Commerce is an ecommerce platform for Craft CMS. In versions 5.0.0 through 5.5.4, an SQL injection vulnerability exists where the ProductQuery::hasVariant and VariantQuery::hasProduct properties bypass the input sanitization blocklist added to ElementIndexesController in a prior security fix (GHSA-2453-mppf-46cj). The blocklist only strips top-level Yii2 Query properties such as where and orderBy, but hasVariant and hasProduct pass through untouched and internally call Craft::configure() on a subquery without sanitization, re-introducing SQL injection. Any authenticated control panel user can exploit this via boolean-based blind SQL injection to extract arbitrary database contents, including security keys that enable forging admin sessions for privilege escalation. This issue has been fixed in version 5.6.0."
                }
            ],
            "source": {
                "advisory": "GHSA-r54v-qq87-px5r",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-04-14T15:28:46.125041Z",
                                "id": "CVE-2026-32272",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-04-14T16:28:47.197Z"
                }
            }
        ]
    }
}