CVE-2026-32272 — Vulnerability in craftcms/commerce — CVE Details
Craft Commerce hasVariant/hasProduct Blind SQL Injection
Summary
Advisory Timeline
- First published April 14, 2026 (181 days ago).
- Last revised July 8, 2026 — 85 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "craftcms/commerce:^5.6.0"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| craftcms/commerce | packagist | 5.0.0, 5.0.1, 5.0.10, 5.0.10.1 (+85 more) | 5.6.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
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
References
- https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32272ADVISORY
- https://github.com/craftcms/commerce/pull/4232WEB
- https://github.com/advisories/GHSA-2453-mppf-46cjADVISORY
- https://github.com/craftcms/commercePACKAGE
- https://github.com/craftcms/commerce/releases/tag/5.6.0WEB
Frequently Asked Questions
- What is CVE-2026-32272?
- Craft Commerce hasVariant/hasProduct Blind SQL Injection This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-32272?
- CVE-2026-32272 affects craftcms/commerce. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-32272 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-32271HIGH
Craft Commerce has a SQL Injection can lead to Remote Code Execution via TotalRevenue Widget
- CVE-2026-29172HIGH
Craft Commerce is Vulnerable to SQL Injection in Commerce Purchasables Table Sorting
- CVE-2026-29174HIGH
Craft Commerce is vulnerable to SQL Injection in Commerce Inventory Table Sorting
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
- CVE-2026-25482MEDIUM
Craft Commerce has Stored DOM XSS in Order Status Name (Reflects in "Recent Orders" Dashboard Widget)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies