CVE-2026-32593: Winter: SQL Injection in Backend Filter Widget numberrange Scope via numbersFromAjax
Impact The Backend Filter widget (Backend\Widgets\Filter) is vulnerable to SQL injection through the numberrange scope type when the scope is configured with a conditions key. An authenticated backend user with access to a list view containing a vulnerable filter scope can inject arbitrary SQL via the filter's AJAX handler, potentially gaining read access to the full database contents.
Published Aug 12, 2026
Affected packages
winter/wn-backend-module
- Ecosystem
- Composer (PHP)
- Affected
- <= 1.2.12
- Fixed in
- 1.2.13
- Check
composer show winter/wn-backend-module
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The Backend Filter widget (Backend\Widgets\Filter) is vulnerable to SQL injection through the numberrange scope type when the scope is configured with a conditions key. An authenticated backend user with access to a list view containing a vulnerable filter scope can inject arbitrary SQL via the filter's AJAX handler, potentially gaining read access to the full database contents.
To exploit this, an attacker must have a valid backend account with access to a list view where a third-party plugin has registered a numberrange filter scope using the conditions configuration key. No built-in Winter CMS backend views use this scope type and configuration combination, so a vanilla installation without plugins is not exploitable.
Patches
This issue has been fixed in Winter CMS v1.2.13.
Workarounds
If users cannot upgrade, they may apply commit https://github.com/wintercms/winter/commit/50713de95adf5298536d93f4d999652525d36d43 to your Winter CMS installation manually to resolve this issue.
Credited to M9nx, turgutAgha.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-54256
Winter: Authenticated IDOR in backend FileUpload widget allows cross-user access to attachment metadata
medium5.4Aug 20, 2026CVE-2026-63179
Winter: Local File Inclusion through @import directives in LESS compilation of backend customizable stylesheets and theme assets
medium4.9Aug 20, 2026CVE-2026-125338
Winter: Stored XSS through cached Brand Settings and Editor Settings custom styles
medium4.5Aug 20, 2026CVE-2026-125341
Winter: Stored XSS through Backend List widget image columns
low2.0Aug 20, 2026CVE-2026-125337
Winter: ImportExportController AJAX handlers bypass granular import/export permission gate
high8.3Aug 20, 2026CVE-2026-125340
Winter: Reflected XSS through the search query parameter in the backend Table widget
medium4.5Aug 20, 2026
