Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 88%

CVE-2026-32272: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in craftcms commerce

0
High
VulnerabilityCVE-2026-32272cvecve-2026-32272cwe-89
Published: Mon Apr 13 2026 (04/13/2026, 20:25:50 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: commerce

Description

An SQL injection vulnerability (CWE-89) exists in Craft Commerce versions 5. 0. 0 through 5. 5. 4. The issue arises because the hasVariant and hasProduct properties bypass input sanitization, allowing authenticated control panel users to perform boolean-based blind SQL injection. This can lead to extraction of arbitrary database contents, including security keys that could be used to forge admin sessions and escalate privileges. The vulnerability was fixed in version 5. 6. 0.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 06:15:02 UTC

Technical Analysis

Craft Commerce, an ecommerce platform for Craft CMS, contains an SQL injection vulnerability in versions 5.0.0 through 5.5.4. The vulnerability occurs because the input sanitization blocklist implemented in ElementIndexesController only filters top-level Yii2 Query properties like where and orderBy, but does not sanitize the hasVariant and hasProduct properties. These properties internally call Craft::configure() on a subquery without proper sanitization, reintroducing the SQL injection risk. Authenticated control panel users can exploit this vulnerability via boolean-based blind SQL injection to extract sensitive database information, including security keys that enable forging admin sessions and privilege escalation. The issue is resolved in version 5.6.0.

Potential Impact

An attacker with authenticated control panel access can exploit this vulnerability to perform boolean-based blind SQL injection, allowing extraction of arbitrary database contents. This includes sensitive security keys that could be used to forge admin sessions, leading to privilege escalation and potentially full control over the application.

Mitigation Recommendations

This vulnerability has been fixed in Craft Commerce version 5.6.0. Users should upgrade to version 5.6.0 or later to remediate this issue. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 5.6.0. Until upgraded, restrict authenticated control panel access to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-11T15:05:48.400Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69dd563d82d89c981f59ffd8

Added to database: 4/13/2026, 8:46:53 PM

Last enriched: 4/21/2026, 6:15:02 AM

Last updated: 6/3/2026, 1:58:03 AM

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses