LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31029: Authenticated XSS in Pi-hole AdminLTE

AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `<script>alert("XSS")</script>` in the field marked with "Domain to look for" and hitting <kbd>enter</kbd> (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.

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Pi-hole AdminLTE before 5.13 allowed script content entered by a logged-in user to run in the dashboard. Because login access is usually limited to administrators, exposure is narrower than public unauthenticated XSS, but an affected admin interface still creates browser-side risk. Vendor guidance is to upgrade; no workaround is named.

Executive priority

Handle in normal vulnerability remediation cycles unless the admin dashboard is internet-reachable or administrator access is loosely controlled. Upgrade remains the required fix.

Technical view

CVE-2022-31029 is CWE-79 authenticated XSS in Pi-hole AdminLTE’s domain lookup field. The CVSS 3.1 score is 5.9, with network access, high privileges, user interaction, and changed scope. Affected versions are AdminLTE before 5.13.

Likely exposure

Organizations running Pi-hole with AdminLTE versions earlier than 5.13 are potentially exposed, especially where multiple administrators or broadly reachable admin interfaces exist.

Exploitation context

The source bundle does not show CISA KEV listing or known active exploitation. Exploitation requires authenticated dashboard access and user interaction in the affected interface.

Researcher notes

Evidence is limited but consistent: the advisory identifies authenticated XSS, affected versions below 5.13, and no workaround. The commit reference supports a code fix, but the bundle does not provide exploitation telemetry.

Mitigation direction

  • Upgrade Pi-hole AdminLTE to version 5.13 or later.
  • Review the GitHub advisory for vendor-specific upgrade guidance.
  • Limit AdminLTE access to trusted administrators only.
  • Avoid exposing the Pi-hole admin dashboard to untrusted networks.
  • Treat access restrictions as risk reduction, not a vendor workaround.

Validation and detection

  • Inventory Pi-hole AdminLTE versions and flag anything below 5.13.
  • Confirm the admin dashboard is not reachable from untrusted networks.
  • Review administrator accounts for unnecessary access.
  • Verify change records show upgrade to the fixed release.
  • Check vendor advisory status before closing remediation.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31029 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L1.73.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2022-31029Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
pi-holeAdminLTE< 5.13Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.