CVE-2021-25985

FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover

State
Published
Severity
7.8 High
Published
Nov 16, 2021
Updated
Apr 30, 2025
Reserved
Jan 22, 2021

Read the record on cve.org

Description

In Factor (App Framework & Headless CMS) v1.0.4 to v1.8.30, improperly invalidate a user’s session even after the user logs out of the application. In addition, user sessions are stored in the browser’s local storage, which by default does not have an expiration time. This makes it possible for an attacker to steal and reuse the cookies using techniques such as XSS attacks, followed by a local account takeover.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HMend

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
FactorFactorJS
  • 1.0.4 to before unspecifiedAffected
  • 1.8.30 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.