Pi-hole Admin Interface
CVE-2025-32785
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Pi-hole admin UI
-
DeliveryInject script into adlist Address field
-
ExploitPayload stored unsanitized
-
ExecutionAdmin runs gravity update in Tools
-
ImpactScript executes in admin browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated user with access to the Pi-hole admin interface Subscribed Lists (adlist/group management) section to inject a payload into the Address field when creating or editing a list entry (PR:L). The payload is stored and does NOT execute immediately - it only triggers when a second user navigates to the Tools section and performs a gravity database update (UI:P, a passive second-order interaction). This makes it a stored XSS dependent on a specific victim workflow. Limiting factors: attacker must already hold valid admin-interface credentials, a separate privileged user must perform the gravity update for the payload to fire, and only versions prior to 6.3 are affected (patched in 6.3). Impact is limited to Low confidentiality and integrity within the browser session context, with no availability impact. |
| Impact | This is a genuinely low-priority issue, and multiple independent signals agree. The CVSS 4.0 base score is 2.0 (Low), driven by PR:L (authenticated attacker required), UI:P (a second user must passively perform an action), and only Low confidentiality/integrity impact (VC:L/VI:L) with no availability impact. EPSS reinforces this: 0.25% probability at the 15th percentile indicates very low expected exploitation volume. The vulnerability is NOT on the CISA KEV list, so there is no evidence of active exploitation - only publicly available exploit code (POC) via the GitHub Security Advisory. Critically, exploitation is a stored/second-order XSS: the attacker (an already-authenticated Pi-hole user) plants a payload that only fires when ANOTHER user navigates to Tools and runs a gravity database update, so it is not a one-shot remote takeover. The CVSS 4.0 vector's E:P (Proof-of-Concept exploit maturity) is consistent with the reported POC and the absence of KEV. No signals conflict here: low CVSS, low EPSS, no KEV, and a self-hosted/niche product all point to minor, opportunistic risk rather than a priority. |
| Exploit ScenarioDerived | An authenticated low-privilege Pi-hole user with access to the admin interface adds a subscribed adlist and injects a malicious <script> payload into the Address field, which is not sanitized. When an administrator later opens the Tools section and triggers a gravity database update, the stored script executes in the admin's browser session. A public POC exists in the GitHub Security Advisory, but exploitation requires both prior authentication and victim interaction, limiting real-world impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting (XSS) in the Pi-hole Admin Interface versions prior to 6.3 allows an authenticated user to inject malicious JavaScript into the Address field of a Subscribed List entry, which then executes when another user navigates to the Tools section and performs a gravity database update. Exploitation requires valid admin-interface credentials and the victim to perform that specific workflow, limiting impact to low confidentiality and integrity within the browser session. Publicly available exploit code exists, but EPSS is 0.25% (15th percentile) and it is not listed in CISA KEV; the overall risk is low.
RemediationAI
Vendor-released patch: 6.3. Upgrade the Pi-hole Admin Interface to version 6.3, which is the vendor-released fix for CVE-2025-32785. Because exploitation requires an authenticated user with access to the Subscribed Lists feature and a second user to trigger the payload via a gravity update, organizations that cannot immediately patch should restrict admin-interface access to trusted users and monitor for unexpected list entries; however, these are compensating controls with trade-offs and do not fully eliminate the stored XSS risk. Disabling the Subscribed Lists/group management feature would prevent injection but removes legitimate functionality. Review the advisory at https://github.com/pi-hole/web/security/advisories/GHSA-7w6h-3gwc-qhq5 for any updated guidance. No other vendor workaround is identified in the provided data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Pi-hole is a network-level advertisement and internet tracker blocking application; the Admin Interface is a PHP-based web UI used for configuration, including the Subscribed Lists (adlist) and group management features. The vulnerability is a classic stored XSS (CWE-79: Improper Neutralization of Input During Web Page Generation) in the Address field used when creating or editing a list entry. The field does not sanitize special characters or script tags, allowing an authenticated user to bypass validation and persist a payload in the gravity database. The malicious script does not execute immediately upon injection; it is triggered later when a different administrator navigates to the Tools section and initiates a gravity database update, which processes and renders the stored list entries. This second-order interaction is reflected in the CVSS vector (UI:P in CVSS 4.0; UI:R in the independent CVSS 3.1 assessment). The CPE string cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:* confirms that all versions of the web interface prior to 6.3 are affected, while the underlying Pi-hole core is not the vulnerable component per the advisory. The scope is changed (S:C) because the injected script executes in the context of the victim's browser session, with PR:L indicating the attacker must already be authenticated to the admin interface.
Know when Web Interface gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Authenticated attacker stores the payload (PR:L); a different user must trigger it (UI:R); XSS executes in the victim's browser context across a trust boundary (S:C) with limited C/I impact and no availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level advertisement and internet tracker blocking application. Pi-hole Admin Interface versions prior to 6.3 are vulnerable to cross-site scripting (XSS) via the Address field in the Subscribed Lists group management section. An authenticated user can inject malicious JavaScript by adding a payload to the Address field when creating or editing a list entry. The vulnerability is triggered when another user navigates to the Tools section and performs a gravity database update. The Address field does not properly sanitize input, allowing special characters and script tags to bypass validation. This has been patched in version 6.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Web Interface
View allPi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
HTTP response splitting in Pi-hole Admin Interface before 6.3 lets unauthenticated remote attackers inject CRLF sequence
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
Stored HTML injection in Pi-hole Admin Interface versions 6.0+ allows authenticated attackers to inject arbitrary HTML i
Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistic
Reflected cross-site scripting in the Pi-hole Admin Interface (web_interface) 6.2.1 and earlier lets a remote, unauthent
Remote code execution with root privileges in Pi-hole Admin Interface versions prior to 6.0 allows unauthenticated attac
Reflected DOM-based XSS in Pi-hole Admin Interface versions 6.0 through 6.4 allows unauthenticated attackers to inject a
Stored cross-site scripting (XSS) via HTML attribute injection in Pi-hole Admin Interface versions 6.0 through 6.4 allow
NVD
CVE.org
EPSS
GitHub
Exploit-DB