{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.1.36"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5f8165e5ffd9a4f5e100e78f5ebaf1e6e37a7917"
            }
          ],
          "repo": "https://github.com/cacti/cacti",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Cacti before 1.1.37 has XSS because the get_current_page function in lib/functions.php relies on $_SERVER['PHP_SELF'] instead of $_SERVER['SCRIPT_NAME'] to determine a page name.",
  "id": "CVE-2018-10059",
  "modified": "2026-03-15T21:47:52.793455958Z",
  "published": "2018-04-12T16:29:00.227Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securitytracker.com/id/1040620"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.cacti.net/changelog.php"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Cacti/cacti/issues/1457"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}