CVE-2026-50635 — Vulnerability in limesurvey/limesurvey — CVE Details
HIGH
LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it.
Published June 9, 2026Updated July 31, 2026Source: osv
Summary
LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it. The optional allowedHosts allowlist that would constrain this is undefined in the default (and documented) configuration, so LSHttpRequest::checkIsAllowedHost() results in no operation. A remote, unauthenticated attacker who submits a forgotten-password request for a known account (requiring only the target's username and email) with a spoofed Host header causes LimeSurvey to email that account a reset link whose hostname is attacker-controlled while embedding the genuine validation_key. When the recipient or an automated inbound mail-security link scanner dereferences the link, the valid reset token is disclosed to the attacker, who replays it against the legitimate host's newPassword endpoint to set a new password and take over the account.
Advisory Timeline
- First published June 9, 2026 (125 days ago).
- Last revised July 31, 2026 — 52 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| limesurvey/limesurvey | packagist | 1.0.4, 2.2.5, 2.65.2+170606, 2.65.3+170607 (+737 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-640
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-50635ADVISORY
- https://github.com/LimeSurvey/LimeSurvey/pull/5032WEB
- https://github.com/LimeSurvey/LimeSurvey/commit/ac2a4f1673de7b56e7a342c338f36e8bb077d4b3WEB
- https://github.com/LimeSurvey/LimeSurvey/commit/b394cb64328aa6db95e3304f82c8c9e603e9ceb0WEB
- https://github.com/LimeSurvey/LimeSurveyPACKAGE
- https://www.limesurvey.orgWEB
- https://www.vulncheck.com/advisories/limesurvey-password-reset-host-header-injection-discloses-reset-tokenWEB
Frequently Asked Questions
- What is CVE-2026-50635?
- LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-50635?
- CVE-2026-50635 affects limesurvey/limesurvey. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50635 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-5c37-5j7w-8mh8
Related CVEs
- CVE-2026-50636HIGH
LimeSurvey has a SQL Injection issue
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies