{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.8"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ee50954be76fa53bdc4d95a3dd197030b96af5ab"
            },
            {
              "fixed": "01191c7a1b8d5032991ed9d88e0db8d3dbec744d"
            }
          ],
          "repo": "https://github.com/pi-hole/web",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mhr8-7rvg-8r43"
  ],
  "database_specific": {},
  "details": "Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistics generated by FTLDNS. Prior to version 5.8, cross-site scripting is possible when adding a client via the groups-clients management page. This issue was patched in version 5.8.",
  "id": "CVE-2021-41175",
  "modified": "2026-07-08T05:37:17.316438453Z",
  "published": "2021-10-26T14:15:08.193Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/pi-hole/AdminLTE/releases/tag/v5.8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pi-hole/AdminLTE/commit/01191c7a1b8d5032991ed9d88e0db8d3dbec744d"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-mhr8-7rvg-8r43"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}