High

LimeSurvey has a SQL Injection issue

  • Disclosed: 09.06.2026
  • Updated: 11.10.2026 10:22

The RemoteControl API methods invite_participants and remind_participants pass a caller-supplied token-ID array into TokenDynamic::findUninvited(), which concatenates the values directly into a tid IN ('...') SQL clause without parameterization or input validation. A remote, authenticated attacker holding the tokens/update permission on a survey can inject a crafted array element to perform SQL injection. Because LimeSurvey configures its PDO connection with emulated prepared statements (emulatePrepare = true) and does not disable MySQL multi-statements, the injection supports stacked queries: the attacker can append arbitrary additional statements (INSERT/UPDATE/DELETE/DROP/CREATE) after the original SELECT. This permits both arbitrary read of any data in the database, such as administrator bcrypt password hashes (lime_users), survey response PII, session records, and global settings, all recoverable via a SLEEP() time-based blind oracle, and arbitrary write/destruction of that data, including directly overwriting the administrator password hash for immediate account takeover or dropping/truncating tables. Reads and writes extend to any schema the application's database user can access. The RemoteControl interface (RPCInterface = json/xml) must be enabled, which is not the default.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package limesurvey/limesurvey <= 7.0.0-beta1 no fix

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Platform
Composer
Package
limesurvey/limesurvey
Disclosed
09.06.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-pr6f-87hf-hx24 - CC BY 4.0

Vulnerability history: limesurvey/limesurvey

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
10.2021 06.2026
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 5

Disclosures per year

  1. 2021: 1
  2. 2022: 2
  3. 2023: 0
  4. 2024: 2
  5. 2025: 0
  6. 2026: 3
  1. LimeSurvey has a SQL Injection issue this entry
    High · 8.8 CVE-2026-50636 <= 7.0.0-beta1 no fix
  2. High · 7.5 CVE-2025-56421 < 6.15.4 6.15.4
  3. Medium · 6.1 CVE-2024-28709 < 6.5.12 6.5.12
  4. Medium · 6.1 CVE-2024-28710 < 6.5.0 6.5.0
  5. Medium · 5.4 CVE-2019-16173 < 3.17.14 3.17.14
  6. Medium · 5.4 CVE-2019-16172 < 3.17.14 3.17.14
  7. Medium · 6.1 CVE-2021-42112 < 3.27.19 3.27.19

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.