CVE-2026-50635: LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it.
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.
Published Jun 9, 2026 · Updated Jul 31, 2026
Affected packages
limesurvey/limesurvey
- Ecosystem
- Composer (PHP)
- Affected
- <= 7.0.0-beta1
- Fixed in
- No patched version yet
- Check
composer show limesurvey/limesurvey
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-50635
- https://github.com/LimeSurvey/LimeSurvey/pull/5032
- https://www.limesurvey.org
- https://www.vulncheck.com/advisories/limesurvey-password-reset-host-header-injection-discloses-reset-token
- https://github.com/LimeSurvey/LimeSurvey/commit/ac2a4f1673de7b56e7a342c338f36e8bb077d4b3
- https://github.com/LimeSurvey/LimeSurvey/commit/b394cb64328aa6db95e3304f82c8c9e603e9ceb0
- https://github.com/advisories/GHSA-5c37-5j7w-8mh8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-50636
LimeSurvey has a SQL Injection issue
high8.8No fixJun 9, 2026CVE-2025-56421
LimeSurvey is vulnerable to SQL injection
high7.5Mar 10, 2026CVE-2024-28709
LimeSurvey Cross Site Scripting vulnerability
medium6.1Oct 7, 2024CVE-2024-28710
LimeSurvey Cross Site Scripting vulnerability
medium6.1Oct 7, 2024
