CVE-2021-25985

FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover

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.

Remediation

Solution:

  • Update to 3.0.1

Category

7.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.17%
Third-Party Advisory whitesourcesoftware.com
Affected: FactorJS Factor
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-25985?
CVE-2021-25985 has been scored as a high severity vulnerability.
How to fix CVE-2021-25985?
To fix CVE-2021-25985: Update to 3.0.1
Is CVE-2021-25985 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-25985 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-25985?
CVE-2021-25985 affects FactorJS Factor.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.