{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3aa5fdd736927f4ba8d4b7efbba850a258ab42ce"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3aa5fdd736927f4ba8d4b7efbba850a258ab42ce"
            }
          ],
          "repo": "https://github.com/tramyardg/hotel-mgmt-system",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27475.json"
  },
  "details": "Cross site scripting (XSS) vulnerability in tramyardg hotel-mgmt-system, allows attackers to execute arbitrary code when when /admin.php is loaded.",
  "id": "CVE-2022-27475",
  "modified": "2026-10-21T02:30:16.535373306Z",
  "published": "2022-04-13T11:39:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27475.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27475"
    },
    {
      "type": "FIX",
      "url": "https://github.com/tramyardg/hotel-mgmt-system/commit/3aa5fdd736927f4ba8d4b7efbba850a258ab42ce"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/tramyardg/hotel-mgmt-system"
    }
  ],
  "schema_version": "1.9.0"
}