CVE-2022-31029: pi-hole adminlte Cross-site Scripting
Vulnerability summary
CVE-2022-31029 is a medium (CVSS 5.9) Cross-site Scripting vulnerability in pi-hole adminlte. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 39.1% of scored vulnerabilities.
Timeline
- 07-07-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
+0.01 pp
From 0.45% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Pi-hole1 product
- adminlte< 5.13
1 vendor · 1 product
References
2 links- github.com/pi-hole/AdminLTE/security/advisories/GHSA-cfr5-rqm5-9vhpX Refsource CONFIRMThird Party Advisory
- github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509X Refsource MISCPatchThird Party Advisory