Skip to main content

LimeSurvey EUVDEUVD-2026-58786

| CVE-2026-18403 MEDIUM
SQL Injection (CWE-89)
2026-08-14 Fluid Attacks GHSA-fxx2-xm5f-gmf5
6.0
CVSS 4.0 · Vendor: Fluid Attacks
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated LimeSurvey credentials
  2. Delivery
    Access CPDB token-copy workflow
  3. Exploit
    Craft malicious participant ID or attribute field name
  4. Execution
    Inject SQL into UPDATE query context
  5. Impact
    Exfiltrate database contents via UNION or error-based technique

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated session in LimeSurvey with at least low-privilege participant management access - PR:L in the CVSS 4.0 vector confirms unauthenticated exploitation is not possible. The attacker must be able to access and trigger the Central Participant Database (CPDB) workflow that copies survey participant tokens to the central participant list; the CVSS AT:P flag explicitly encodes this as a required attack condition, meaning the CPDB feature must be enabled and accessible to the attacker's role. What limits exploitation beyond authentication: the attacker's account must have permissions to invoke the token-copy operation (not all authenticated users do); the SQL injection is constrained to the UPDATE query context of updateTokenAttributeValue() and updateAttributeValueToken(), which limits but does not eliminate write-path abuse; arbitrary command execution or DDL is not implied by available data. Only LimeSurvey Community Edition 7.0.5 is explicitly confirmed; the CPE wildcard suggests additional versions may share this exposure.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) yields a score of 6.0, reflecting network reachability, low authentication bar, and a specific attack requirement (AT:P) - the CPDB feature must be active and accessible to the attacker. VC:H confirms that a successful exploit can yield high-impact database reads, consistent with SQL injection enabling full database enumeration; VI:L reflects the constrained write impact within the UPDATE query context. Authentication is mandatory (PR:L), meaningfully narrowing the attack surface to registered users with participant management rights. EPSS data is not available from the provided intelligence; KEV status is absent, meaning no confirmed active exploitation. Real-world risk is moderate: the combination of required authentication, CPDB feature dependency, and AT:P condition reduces mass-exploitation likelihood, but the high confidentiality impact means a motivated insider or compromised account could exfiltrate the full database including survey responses and user credentials. The patch is a commit-level fix without a formally announced release version - defenders cannot confirm remediation by checking a version number alone.

Exploit ScenarioDerived

An authenticated LimeSurvey user with survey participant management access triggers the CPDB token-copy workflow, injecting malicious SQL through the participant ID or token attribute field name parameter - for example, crafting a participant ID value containing a SQL UNION clause. The injected payload executes within the UPDATE query in updateTokenAttributeValue(), allowing UNION-based or error-based exfiltration of the full LimeSurvey database, including user credentials and survey response data. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

SQL injection in LimeSurvey Community Edition 7.0.5 exposes the Central Participant Database (CPDB) token-copy workflow to authenticated database exfiltration. An attacker with survey-level access can inject malicious SQL through unsanitized participantId, surveyId, tokenFieldname, and participantAttributeId parameters in Participant.php, achieving high-confidence read access to the underlying database with limited write impact. No public exploit identified at time of analysis; a vendor fix is available as a GitHub commit but a formally versioned patched release is not independently confirmed.

RemediationAI

Apply the vendor-provided fix by updating to a LimeSurvey Community Edition version that incorporates commit 7735ce31cea1cad087b0c8556cb65a1c09e29cbd (https://github.com/LimeSurvey/LimeSurvey/commit/7735ce31cea1cad087b0c8556cb65a1c09e29cbd); note that a specific patched release version number is not confirmed from available data - verify remediation by inspecting application/models/Participant.php for the presence of parameterized queries and the isValidTokenAttributeFieldname() method. If immediate patching is not feasible, restrict access to the Central Participant Database (CPDB) and the token-copy workflow to only highly trusted administrator-level accounts, reducing the pool of potential attackers; this reduces risk but does not eliminate it since administrators retain access. As an additional compensating control, configure the application's database user account with the minimum required privileges - specifically, remove or restrict UPDATE permissions on participant_attribute and tokens_* tables where survey read-only access is sufficient - to limit the blast radius of any successful injection. Enable and monitor database query logs for anomalous UPDATE patterns involving participant-related tables. The Fluid Attacks advisory is at https://fluidattacks.com/es/advisories/rihanna.

Affected VersionsENISA

LimeSurvey 7.0.5

Affected Packages

euvd limesurvey no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is application/models/Participant.php in LimeSurvey's Yii-based PHP application. The updateTokenAttributeValue() and updateAttributeValueToken() methods constructed SQL UPDATE statements by directly interpolating user-controlled values - $participantId, $surveyId, $tokenFieldname, and $participantAttributeId - into query strings without prepared statements or input validation. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) applies: the application failed to distinguish data from SQL structure, allowing injection through the query string. The copyToCentral() method additionally accepted attacker-controlled attribute mapping keys that were passed into SQL contexts without field-name validation. The fix, visible in commit 7735ce31cea1cad087b0c8556cb65a1c09e29cbd, introduces parameterized queries using :participant_id and :attribute_id placeholders, intval() casting for $surveyId to prevent table-name injection, regex validation for $participantAttributeId (must match /^[1-9][0-9]*$/), and a new isValidTokenAttributeFieldname() method that cross-checks $tokenFieldname against the pattern attribute_[0-9]+ and against the survey's actual token attribute schema before allowing it near SQL.

Know when Limesurvey gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Fluid Attacks) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Authenticated access (PR:L) and active CPDB feature use required (AC:H); SQL injection in UPDATE context yields high confidentiality but limited integrity impact with no availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Fluid Attacks).

CVSS VectorVendor: Fluid Attacks

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

LimeSurvey Community Edition 7.0.5 contains an authenticated SQL injection vulnerability in the Central Participant Database (CPDB) workflow that copies survey participant tokens to the central participant list.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source survey platform, widely used in academia and enterprise
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2020-11455 CRITICAL POC
9.8 Apr 01

LimeSurvey before 4.1.12+200324 contains a path traversal vulnerability in application/controllers/admin/LimeSurveyFileM

CVE-2019-9960 CRITICAL POC
9.8 Mar 24

The downloadZip function in application/controllers/admin/export.php in LimeSurvey through 3.16.1+190225 allows a relati

CVE-2018-17057 CRITICAL POC
9.8 Sep 14

An issue was discovered in TCPDF before 6.2.22. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo

CVE-2024-42902 HIGH POC
8.8 Sep 03

An issue in the js_localize.php function of LimeSurvey v6.6.2 and before allows attackers to execute arbitrary code via

CVE-2024-39063 HIGH POC
8.8 Jul 09

Lime Survey <= 6.5.12 is vulnerable to Cross Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerabi

CVE-2012-4927 HIGH POC
7.5 Sep 15

SQL injection vulnerability in Limesurvey (a.k.a PHPSurveyor) before 1.91+ Build 120224 and earlier allows remote attack

CVE-2014-5017 HIGH POC
7.5 Jul 21

SQL injection vulnerability in CPDB in application/controllers/admin/participantsaction.php in LimeSurvey 2.05+ Build 14

CVE-2022-43279 HIGH POC
7.2 Nov 15

LimeSurvey before v5.0.4 was discovered to contain a SQL injection vulnerability via the component /application/views/th

CVE-2026-63107 MEDIUM POC
6.3 Jul 20

Server-side request forgery in LimeSurvey through versions 6.17.10 and 7.0.4 exposes internal network infrastructure and

CVE-2024-24506 MEDIUM POC
6.1 Apr 03

Cross Site Scripting (XSS) vulnerability in Lime Survey Community Edition Version v.5.3.32+220817, allows remote attacke

CVE-2021-42112 MEDIUM POC
6.1 Oct 08

The "File upload question" functionality in LimeSurvey 3.x-LTS through 3.27.18 allows XSS in assets/scripts/modaldialog.

CVE-2019-17660 MEDIUM POC
6.1 Oct 16

A cross-site scripting (XSS) vulnerability in admin/translate/translateheader_view.php in LimeSurvey 3.19.1 and earlier

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy