Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25985

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-25985
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:15 UTC · Revision 1

Source evidence

CVE-2021-25985

core-osv · Original source

Published 16 Nov 2021, 10:15 UTC

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.

osv:CVE-2021-25985
Complete source record
{
  "id": "e256e399c0f1c6426e841b522a394e36d808d0bd8b6f5cbf71f8a48acaf3bff7",
  "url": "https://osv.dev/vulnerability/CVE-2021-25985",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25985",
    "summary": "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.",
    "evidence": "osv:CVE-2021-25985",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-25985",
      "aliases": [
        "CVE-2021-25985"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fictionco/fiction",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b97bcc6db0c0ecd030b571088bbcb530ca90591a"
                },
                {
                  "last_affected": "ff33a72ef8106e8ab60ef933f4b72e1f359d5d7c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:darwin:factor:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "1.0.4"
                      },
                      {
                        "last_affected": "1.8.30"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.8.30",
            "v1.8.29",
            "v1.8.28",
            "v1.8.27",
            "v1.8.26",
            "v1.8.25",
            "v1.8.24",
            "v1.8.23",
            "v1.8.22",
            "v1.8.21",
            "v1.8.20",
            "v1.8.19",
            "v1.8.18",
            "v1.8.17",
            "v1.8.16",
            "v1.8.15",
            "v1.8.14",
            "v1.8.13",
            "v1.8.12",
            "v1.8.11",
            "v1.8.10",
            "v1.8.9",
            "v1.8.8",
            "v1.8.7",
            "v1.8.6",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.0",
            "v1.7.10",
            "v1.7.9",
            "v1.7.8",
            "v1.7.7",
            "v1.7.6",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.3",
            "v1.6.1",
            "v1.6.0",
            "v1.5.30",
            "v1.5.29",
            "v1.5.28",
            "v1.5.27",
            "v1.5.26",
            "v1.5.25",
            "v1.5.24",
            "v1.5.23",
            "v1.5.22",
            "v1.5.21",
            "v1.5.20",
            "v1.5.19",
            "v1.5.18",
            "v1.5.17",
            "v1.5.16",
            "v1.5.15",
            "v1.5.14",
            "v1.5.13",
            "v1.5.12",
            "v1.5.11",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.0",
            "v1.4.10",
            "v1.4.9",
            "v1.4.8",
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.12",
            "v1.3.11",
            "v1.3.10",
            "v1.3.9",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.10",
            "v1.2.9",
            "v1.2.8",
            "v1.2.7",
            "v1.2.6",
            "v1.2.5",
            "v1.1.41",
            "v1.1.40",
            "v1.1.39",
            "v1.1.38",
            "v1.1.37",
            "v1.1.36",
            "v1.1.35",
            "v1.1.34",
            "v1.1.33",
            "v1.1.32",
            "v1.1.31",
            "v1.1.30",
            "v1.1.29",
            "v1.1.28",
            "v1.1.27",
            "v1.1.26",
            "v1.1.25",
            "v1.1.24",
            "v1.1.23",
            "v1.1.20",
            "v1.1.19",
            "v1.1.18",
            "v1.1.17",
            "v1.0.7",
            "v1.0.6",
            "v1.0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25985.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:40.970702179Z",
      "provider": "osv",
      "references": [
        "https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65",
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-25985",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384494,
  "published_at": "2021-11-16T10:15:07.167+00:00"
}