Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection
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 before 6.3 is vulnerable to Carriage Return Line Feed (CRLF) injection. When a request is made to a file ending with the .lp extension, the application performs a redirect without properly sanitizing the input. An attacker can inject carriage return and line feed characters (%0d%0a) to manipulate both the headers and the content of the HTTP response. This enables the injection of arbitrary HTTP response headers, potentially leading to session fixation, cache poisoning, and the weakening or bypassing of browser-based security mechanisms such as Content Security Policy or X-XSS-Protection. This vulnerability is fixed in 6.3.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-59151
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 12:35 UTC · Revision 1
Source evidence
Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection
core-osv · Original sourcePublished 27 Oct 2025, 19:42 UTC
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 before 6.3 is vulnerable to Carriage Return Line Feed (CRLF) injection. When a request is made to a file ending with the .lp extension, the application performs a redirect without properly sanitizing the input. An attacker can inject carriage return and line feed characters (%0d%0a) to manipulate both the headers and the content of the HTTP response. This enables the injection of arbitrary HTTP response headers, potentially leading to session fixation, cache poisoning, and the weakening or bypassing of browser-based security mechanisms such as Content Security Policy or X-XSS-Protection. This vulnerability is fixed in 6.3.
osv:CVE-2025-59151
Complete source record
{
"id": "a6eb19ef5cf5b4668e913556e1c8703446a2360dea52a17550970e2681c21484",
"url": "https://osv.dev/vulnerability/CVE-2025-59151",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection",
"summary": "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 before 6.3 is vulnerable to Carriage Return Line Feed (CRLF) injection. When a request is made to a file ending with the .lp extension, the application performs a redirect without properly sanitizing the input. An attacker can inject carriage return and line feed characters (%0d%0a) to manipulate both the headers and the content of the HTTP response. This enables the injection of arbitrary HTTP response headers, potentially leading to session fixation, cache poisoning, and the weakening or bypassing of browser-based security mechanisms such as Content Security Policy or X-XSS-Protection. This vulnerability is fixed in 6.3.",
"evidence": "osv:CVE-2025-59151",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-59151",
"aliases": [
"CVE-2025-59151",
"GHSA-5v79-p56f-x7c4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pi-hole/web",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "62c55dcf358663e39c2ab629238ac34609562ae9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.2.1",
"v6.1",
"v6.0.2",
"v6.0.1",
"v6.0",
"v5.21",
"v5.20.2",
"v5.20.1",
"v5.20",
"v5.19",
"v5.18.4",
"v5.18.3",
"v5.18.2",
"v5.18.1",
"v5.18",
"v5.17",
"v5.16",
"v5.15.1",
"v5.15",
"v5.14.2",
"v5.14.1",
"v5.14",
"v5.13",
"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-2025-59151.json"
}
}
],
"modified": "2026-10-28T02:30:50.779779904Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59151.json",
"https://github.com/pi-hole/web/security/advisories/GHSA-5v79-p56f-x7c4",
"https://nvd.nist.gov/vuln/detail/CVE-2025-59151"
],
"provider_metadata": {
"cwe_ids": [
"CWE-113",
"CWE-93"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59151.json"
}
},
"related_cves": [
{
"value": "CVE-2025-59151",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519304,
"published_at": "2025-10-27T19:42:59.596+00:00"
}