{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.1"
                  },
                  {
                    "last_affected": "0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.2"
                  },
                  {
                    "last_affected": "0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.3"
                  },
                  {
                    "last_affected": "0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4"
                  },
                  {
                    "last_affected": "0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.5"
                  },
                  {
                    "last_affected": "0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.6"
                  },
                  {
                    "last_affected": "0.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.7"
                  },
                  {
                    "last_affected": "0.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.8"
                  },
                  {
                    "last_affected": "0.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.9"
                  },
                  {
                    "last_affected": "0.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.10"
                  },
                  {
                    "last_affected": "0.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.11"
                  },
                  {
                    "last_affected": "0.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.12"
                  },
                  {
                    "last_affected": "0.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.13"
                  },
                  {
                    "last_affected": "0.13"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.14"
                  },
                  {
                    "last_affected": "0.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.15"
                  },
                  {
                    "last_affected": "0.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.16"
                  },
                  {
                    "last_affected": "0.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.17"
                  },
                  {
                    "last_affected": "0.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.18"
                  },
                  {
                    "last_affected": "0.18"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.19"
                  },
                  {
                    "last_affected": "0.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.20"
                  },
                  {
                    "last_affected": "0.20"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.21"
                  },
                  {
                    "last_affected": "0.21"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.22"
                  },
                  {
                    "last_affected": "0.22"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.23"
                  },
                  {
                    "last_affected": "0.23"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.24"
                  },
                  {
                    "last_affected": "0.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.25"
                  },
                  {
                    "last_affected": "0.25"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.26"
                  },
                  {
                    "last_affected": "0.26"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.27"
                  },
                  {
                    "last_affected": "0.27"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.28"
                  },
                  {
                    "last_affected": "0.28"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.29"
                  },
                  {
                    "last_affected": "0.29"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.30"
                  },
                  {
                    "last_affected": "0.30"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.31.0"
                  },
                  {
                    "last_affected": "0.31.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "e216c28863cdbf31603349d75c904253666e0cc4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "26.10.0",
                "range": [
                  {
                    "fixed": "651657e7211901393e2501ae7e3e202c8e56f73a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8887eecf076ac9b46618c8f1fcb64e3bd96e48d0"
            },
            {
              "last_affected": "2b2192d4e153bd04f1d325b60fd880cf00d68b01"
            },
            {
              "fixed": "e216c28863cdbf31603349d75c904253666e0cc4"
            },
            {
              "fixed": "651657e7211901393e2501ae7e3e202c8e56f73a"
            }
          ],
          "repo": "https://github.com/usememos/memos",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.1",
        "0.10",
        "0.11",
        "0.12",
        "0.13",
        "0.14",
        "0.15",
        "0.16",
        "0.17",
        "0.18",
        "0.19",
        "0.2",
        "0.20",
        "0.21",
        "0.22",
        "0.23",
        "0.24",
        "0.25",
        "0.26",
        "0.27",
        "0.28",
        "0.29",
        "0.3",
        "0.30",
        "0.31.0",
        "0.4",
        "0.5",
        "0.6",
        "0.7",
        "0.8",
        "0.9"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-79",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142014.json"
  },
  "details": "A vulnerability was identified in usememos memos up to 0.31.0. Affected by this vulnerability is the function handleSignInWithIdentityProvider of the file web/src/components/IdentityProviderButtons.tsx of the component OAuth2 Identity Provider SSO. The manipulation of the argument authUrl leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. Upgrading to version 26.10.0 addresses this issue. The identifier of the patch is e216c28863cdbf31603349d75c904253666e0cc4. It is suggested to upgrade the affected component.",
  "id": "CVE-2026-142014",
  "modified": "2026-12-02T18:45:21.769405500Z",
  "published": "2026-12-02T17:15:23.195Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142014.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/usememos/memos/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/usememos/memos/commit/e216c28863cdbf31603349d75c904253666e0cc4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/usememos/memos/pull/6507"
    },
    {
      "type": "FIX",
      "url": "https://github.com/usememos/memos/releases/tag/26.10.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142014"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-142014"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1074574"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/447690"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/447690/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "usememos OAuth2 Identity Provider SSO IdentityProviderButtons.tsx handleSignInWithIdentityProvider cross site scripting"
}