Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2021-25985

FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover

High7.8EPSS 0.78%
Published
Updated
Reserved
Assigned by
Mend

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

CVSS scores of CVE-2021-25985, by who scored it
Scored byCVSSScoreVector
MendCNA (assigner)3.1High7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVDNVD · Modified3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.78% · top 44% of all CVEs (7 Nov 2026)
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Weakness

Affected products

  • FactorJS · Factor

    • affected 1.0.4 – < unspecified
    • affected unspecified – ≤ 1.8.30

What to do

Solution: Update to 3.0.1

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2021-25985 badge
[![CVE-2021-25985](https://trackcve.app/badge/CVE-2021-25985.svg)](https://trackcve.app/cve/CVE-2021-25985)

Record last updated .