{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:habitica:habitica:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "4.119.0"
              },
              {
                "fixed": "4.233.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "bfc84be6903b8dedb5b1de9df76159b8910c00fa"
            },
            {
              "fixed": "86068f42d4a4bc07afd40e0b11664ac6d261cca0"
            },
            {
              "fixed": "5bcfdbe066e8c899f3ecf3fdcdbacc2ecba7f02f"
            }
          ],
          "repo": "https://github.com/habitrpg/habitica",
          "type": "GIT"
        }
      ],
      "versions": [
        "v4.119.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mend",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23077.json"
  },
  "details": "In habitica versions v4.119.0 through v4.232.2 are vulnerable to DOM XSS via the login page.",
  "id": "CVE-2022-23077",
  "modified": "2026-07-08T05:36:33.149452771Z",
  "published": "2022-06-22T11:30:16.489Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.mend.io/vulnerability-database/CVE-2022-23077"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23077.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23077"
    },
    {
      "type": "FIX",
      "url": "https://github.com/HabitRPG/habitica/commit/5bcfdbe066e8c899f3ecf3fdcdbacc2ecba7f02f"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "Habitica - DOM XSS in login page"
}