{
  "schema_version": "1.4.0",
  "id": "GHSA-5ffj-mph5-c5hv",
  "modified": "2024-04-25T21:59:40Z",
  "published": "2022-09-10T00:00:32Z",
  "aliases": [
    "CVE-2022-2925"
  ],
  "summary": "Appwrite Vulnerable to Cross-site Scripting",
  "details": "Appwrite is vulnerable to stored cross-site scripting in usernames, function names, storage bucket names, and database collection names.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "appwrite/server-ce"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.0-RC1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2925"
    },
    {
      "type": "WEB",
      "url": "https://github.com/appwrite/appwrite/commit/b5b4d92623c13fa8e5c71736db461e81fb7a7ade"
    },
    {
      "type": "WEB",
      "url": "https://drive.google.com/file/d/1JoMQy1KTodVtIVOzH3vKcC3AwZz0PrFb/view?usp=sharing"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/appwrite/appwrite"
    },
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/a3b4148f-165f-4583-abed-5568696d99dc"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-25T21:59:40Z",
    "nvd_published_at": "2022-09-09T06:15:00Z"
  }
}