{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.19.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "c4269e23a5189d9bca7a5fba31815bc297acab16"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "decap-cms@3.19.0",
                "range": [
                  {
                    "fixed": "f35a51cffc7c32de2c2c0575e98cc64da5c0f824"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "31b352940c4de521a6a9c582362f99f15f56dc84"
            },
            {
              "fixed": "0c1b7c7d63ba6ddb3de3692fbb6b16ac6ebb44d5"
            },
            {
              "fixed": "c4269e23a5189d9bca7a5fba31815bc297acab16"
            },
            {
              "fixed": "f35a51cffc7c32de2c2c0575e98cc64da5c0f824"
            }
          ],
          "repo": "https://github.com/decaporg/decap-cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h6vp-4qr8-gvh5"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145159.json"
  },
  "details": "Decap CMS before 3.19.0 contains a login cross-site request forgery vulnerability in validateNonce() that allows remote unauthenticated attackers to bypass the OAuth state check using a null nonce. Attackers can lure editors to an admin link with an attacker access token and null state nonce, causing saved content to be written using the attacker's Git provider identity.",
  "id": "CVE-2026-145159",
  "modified": "2026-12-04T17:45:50.944259333Z",
  "published": "2026-12-04T16:31:06.075Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145159.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/decaporg/decap-cms"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/implicit-oauth.js#L45-L69"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/utils.js#L7-L12"
    },
    {
      "type": "FIX",
      "url": "https://github.com/decaporg/decap-cms/commit/c4269e23a5189d9bca7a5fba31815bc297acab16"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.19.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/decaporg/decap-cms/security/advisories/GHSA-h6vp-4qr8-gvh5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145159"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/decap-cms-before-3.19.0-login-csrf-via-oauth-null-state-nonce"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Decap CMS before 3.19.0 Login CSRF via OAuth Null State Nonce"
}