CVE-2026-50635 Details
Description
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.
A host header injection vulnerability has been identified in LimeSurvey versions through 7.0. This issue allows remote, unauthenticated attackers to manipulate password reset links. The vulnerability arises because LimeSurvey does not validate the HTTP Host header when generating these links. Instead, it relies on an optional allowlist of hosts that is not defined in the default configuration. As a result, attackers can send a forgotten-password request for a known account, using a spoofed Host header to control the link's hostname. The email sent to the user contains a reset link with the attacker-controlled hostname and a valid validation key. When the link is accessed, the reset token is exposed to the attacker, who can then use it to reset the password and gain access to the account.
Users are advised to update to the latest version of LimeSurvey, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2026CISA-ADP
Assessed Jun 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LimeSurvey/LimeSurvey/pull/5032 | [email protected] | Issue TrackingVendor |
| https://www.limesurvey.org/ | [email protected] | Vendor |
| https://www.vulncheck.com/advisories/limesurvey-password-reset-host-header-injection-discloses-reset-token | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-640 | Weak Password Recovery Mechanism for Forgotten Password | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LimeSurvey | <= 7.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | New CVE Received | [email protected] |
Volerion