{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a7eeaae23e0e2e31bdcd9b61d4738b2ab43cdf7f"
            }
          ],
          "repo": "https://github.com/bubka/2fauth",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cwhq-2mcq-pp9q"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36816.json"
  },
  "details": "2FA is a Web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Cross site scripting (XSS) injection can be done via the account/service field. This was tested in docker-compose environment. This vulnerability has been patched in version 4.0.3.\n",
  "id": "CVE-2023-36816",
  "modified": "2026-03-13T21:54:37.979430011Z",
  "published": "2023-07-03T16:12:17.141Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Bubka/2FAuth/releases/tag/v4.0.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Bubka/2FAuth/security/advisories/GHSA-cwhq-2mcq-pp9q"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36816.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36816"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-Site Scripting (XSS) at Account creation in 2FAuth"
}