Lime Survey Community Edition
An SQL injection issue exists in the survey-archive participant import and SPSS-response export workflow. An authenticated user with global `surveys.create` permission can import a specially crafted .lsa archive. If the participant XML within this archive creates an attribute column with a malicious name, LimeSurvey passes this name to the Yii select builder during the response export process of a non-anonymous survey. Because names containing parentheses are processed as SQL expressions rather than quoted identifiers, this allows the execution of arbitrary SQL commands with the privileges of the application database.