Skip to content
Heist/ feed
Back to feed
Medium

Authenticated XSS in Pi-hole AdminLTE

Type: advisorySources: OSV

AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `` in the field marked with "Domain to look for" and hitting enter (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerability. Usually only administrators have login access to pi-hole, minimizing the risks. Users are advised to upgrade. There are no known workarounds for this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31029
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:51 UTC · Revision 1

Source evidence

Authenticated XSS in Pi-hole AdminLTE

core-osv · Original source

Published 7 Jul 2022, 21:55 UTC

AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `` in the field marked with "Domain to look for" and hitting enter (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerability. Usually only administrators have login access to pi-hole, minimizing the risks. Users are advised to upgrade. There are no known workarounds for this issue.

osv:CVE-2022-31029
Complete source record
{
  "id": "7c66acc4f7b1eba86eb8e180c8a0d3e5eadfa6f62500da14a181331e4dccd3fd",
  "url": "https://osv.dev/vulnerability/CVE-2022-31029",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Authenticated XSS in Pi-hole AdminLTE",
    "summary": "AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `` in the field marked with \"Domain to look for\" and hitting enter (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerability. Usually only administrators have login access to pi-hole, minimizing the risks. Users are advised to upgrade. There are no known workarounds for this issue.",
    "evidence": "osv:CVE-2022-31029",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-31029",
      "aliases": [
        "CVE-2022-31029",
        "GHSA-cfr5-rqm5-9vhp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pi-hole/web",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1714b082c3a233ea3a0c344b50352c59818676fc"
                },
                {
                  "fixed": "b07372bd426ca8111824a0244dc89d07a7243509"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pi-hole:adminlte:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b07372bd426ca8111824a0244dc89d07a7243509"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.12",
            "v5.11",
            "v5.10.1",
            "v5.10",
            "v5.9",
            "v5.8",
            "v5.7",
            "v5.6",
            "v5.5.1",
            "v5.5",
            "v5.4",
            "v5.3.2",
            "v5.3.1",
            "v5.3",
            "v5.2.2",
            "v5.2.1",
            "v5.2",
            "v5.1.1",
            "v5.1",
            "v5.0",
            "v4.3.3",
            "v4.3.2",
            "v4.3",
            "v4.2",
            "v4.1.1",
            "v4.1",
            "v4.0",
            "v3.3",
            "v3.2.1",
            "v3.2",
            "v3.1",
            "v3.0.1a",
            "v3.0.1",
            "v3.0",
            "v2.5.2",
            "v2.5.1",
            "v2.5",
            "v2.4",
            "v2.3.1",
            "v2.3",
            "v2.2",
            "v2.1",
            "v2.0",
            "v1.4.4.2",
            "v1.4.4.1",
            "v1.4.4",
            "v1.4.3.1a",
            "v1.4.3.1",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4",
            "v1.3",
            "v1.2",
            "v1.1.7",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v2.2.0",
            "v2.1.2",
            "2.1.1",
            "2.1.0",
            "v2.1.0-beta",
            "v2.1.0-alpha-1",
            "v2.0.5",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "2.0.0",
            "1.2.1",
            "1.2",
            "1.1",
            "1.0",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31029.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.287649733Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31029.json",
        "https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhp",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31029",
        "https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31029.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31029",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497015,
  "published_at": "2022-07-07T21:55:10+00:00"
}