Description
Question2Answer through 1.8.8 contains a session invalidation vulnerability that allows attackers with a previously obtained remember-me cookie to retain authenticated access by exploiting the forgot-password reset flow's failure to clear the sessioncode field in qa-include/app/users-edit.php. While the normal password-change flow in qa-include/pages/account.php explicitly clears the sessioncode to invalidate persistent qa_session cookies, the forgot-password handler qa_finish_reset_user() omits this step, allowing any valid persistent cookie issued before the reset to continue authenticating the account after the password reset completes.
Severity (CVSS)
| Base score | 9.1 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-613 — Insufficient Session Expiration
Affected products
| Vendor | Product | Versions |
|---|---|---|
| q2a | question2answer | 0 to <=1.8.8 |
References
- https://github.com/q2a/question2answer/pull/1017 (issue-tracking)
- https://www.vulncheck.com/advisories/question2answer-session-fixation-via-forgot-password-flow (third-party-advisory)
Generated from the official CVE List on 23 Jul 2026 07:04 UTC.