Security readout for executives and security teams
Plain-English summary
FactorJS Factor did not properly end user sessions after logout, and session data stored in browser local storage had no default expiration. If an attacker obtained that session data, they could reuse it and take over the local account. The sources do not show active exploitation or a named fixed version.
Executive priority
Treat this as a high-priority session management issue for any exposed FactorJS-based application. Business urgency depends on whether affected Factor versions are deployed and whether attackers could steal browser session material.
Technical view
CVE-2021-25985 is a CWE-613 insufficient session expiration issue in Factor App Framework and Headless CMS versions 1.0.4 through 1.8.30. Logout did not reliably invalidate sessions, while browser localStorage retained session material indefinitely. Reuse of stolen session material could compromise confidentiality, integrity, and availability.
Likely exposure
Exposure is likely limited to applications built on FactorJS Factor versions 1.0.4 through 1.8.30 that use the affected user session handling. Public internet exposure increases impact if the application also has XSS or session theft paths.
Exploitation context
The bundle does not include CISA KEV status or a cited report of exploitation in the wild. The described attack depends on obtaining reusable session material, for example through XSS or local browser access, followed by session reuse.
Researcher notes
Evidence is limited to the CVE record, CVE List entry, referenced Factor source, and WhiteSource advisory. The provided sources identify the flaw and affected version range but do not name a patch, workaround, or active exploitation.
Mitigation direction
- Inventory FactorJS Factor deployments and identify versions 1.0.4 through 1.8.30.
- Check current FactorJS or advisory guidance for a fixed version or vendor-approved workaround.
- Force logout and rotate sessions for users of affected applications after remediation.
- Reduce XSS risk in affected apps through output encoding and content security controls.
- Avoid long-lived session material in browser localStorage where application changes are feasible.
Validation and detection
- Confirm whether the application depends on FactorJS Factor user session utilities.
- Review package manifests or lockfiles for Factor versions in the affected range.
- Test whether logout invalidates the server-side session, without reusing captured tokens offensively.
- Check browser storage for persistent session material after logout and browser restart.
- Review logs for unusual account access following logout or from unexpected clients.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-613: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-25985 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H1.85.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.8HighVector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65CVE reference · x_refsource_MISC
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Insufficient Session Expiration
Insufficient Session Expiration represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
