SQL Injection in Contact Activity API Sorting
Mautic
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mautic/core Packagist |
|
|
Original description
SummaryThis advisory addresses a SQL injection vulnerability in the API endpoint used for retrieving contact activities. A vulnerability exists in the query construction for the Contact Activity timeline where the parameter responsible for determining the sort direction was not strictly validated against an allowlist, potentially allowing authenticated users to inject arbitrary SQL commands via the API.