CVE-2021-25985

published 16 Nov 2021 · updated 30 Apr 2025

FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FactorJS<=1.8.30, >=1.0.4 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25985 severity on Zeptric[![CVE-2021-25985](https://zeptric.io/badge/cve/CVE-2021-25985.svg)](https://zeptric.io/cve/CVE-2021-25985)