CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-29172

High
Published: Translated: NVD NIST

Summary

Craft Commerce to platforma e-commerce dla Craft CMS. W wersjach przed 4.10.2 i 5.5.3 występuje podatność na atak SQL Injection w punkcie końcowym tabeli purchasables, gdzie parametr sort jest przekazywany bez walidacji do funkcji orderBy().

Risk Assessment

Podatność ta pozwala uwierzytelnionemu atakującemu na wstrzyknięcie dowolnego SQL do klauzuli ORDER BY, co może prowadzić do nieautoryzowanego dostępu do danych lub ich manipulacji.

Recommendation

Zaleca się aktualizację Craft Commerce do wersji 4.10.2 lub 5.5.3, aby usunąć tę podatność.

Related vulnerabilities

Original NVD description (English source)

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, Craft Commerce is vulnerable to SQL Injection in the purchasables table endpoint. The sort parameter is split by | and the first part (column name) is passed directly as an array key to orderBy() without whitelist validation. Yii2's query builder does NOT escape array keys, allowing an authenticated attacker to inject arbitrary SQL into the ORDER BY clause. This vulnerability is fixed in 4.10.2 and 5.5.3.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS