Medium
Security advisory
Pi-hole 5.0, 5.1, and 5.1.1 allows XSS via the Options header to the admin/ URI. A remote user is able to inject arbitrary web script or HTML due to incorrect sanitization of user-supplied data and achieve a Reflected Cross-Site Scripting attack against other users and steal the session cookie.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35592
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:18 UTC · Revision 1
Source evidence
Pi-hole 5.0, 5.1, and 5.1.1 allows XSS via the Options header to the admin/ URI. A remote user is able to inject arbitrary web script or HTML due to incorrect sanitization of user-supplied data and achieve a Reflected Cross-Site Scripting attack against other users and steal the session cookie.
osv:CVE-2020-35592
Complete source record
{
"id": "9088ba9ab0c3285d3754e26f01bfeb35979e944cd96bed39a24037f4b849f4ce",
"url": "https://osv.dev/vulnerability/CVE-2020-35592",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35592",
"summary": "Pi-hole 5.0, 5.1, and 5.1.1 allows XSS via the Options header to the admin/ URI. A remote user is able to inject arbitrary web script or HTML due to incorrect sanitization of user-supplied data and achieve a Reflected Cross-Site Scripting attack against other users and steal the session cookie.",
"evidence": "osv:CVE-2020-35592",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-35592",
"aliases": [
"CVE-2020-35592"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pi-hole/pi-hole",
"type": "GIT",
"events": [
{
"introduced": "4d25f695267590b61a4061f9bb43448005d99b85"
},
{
"last_affected": "56cd7c4d59ceb629a2170cd1c8ab78ef26366019"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"last_affected": "5.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1"
},
{
"last_affected": "5.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.1.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.1"
},
{
"last_affected": "5.1.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"5.0",
"5.1",
"5.1.1",
"v5.1.1",
"v5.1",
"v5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35592.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/pi-hole/web",
"type": "GIT",
"events": [
{
"introduced": "b86e4a3178e46cef9fc738c6a0fb8d0ef0ff2fbc"
},
{
"last_affected": "a03d1bddf74f0164f637126b06705bb659dfa4e7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"last_affected": "5.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1"
},
{
"last_affected": "5.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:5.1.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.1"
},
{
"last_affected": "5.1.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"5.0",
"5.1",
"5.1.1",
"v5.1.1",
"v5.1",
"v5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35592.json"
}
}
],
"modified": "2026-10-24T10:30:17.008803361Z",
"provider": "osv",
"references": [
"https://discourse.pi-hole.net/c/announcements/5",
"https://n4nj0.github.io/advisories/pi-hole-multiple-vulnerabilities-i/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35592",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429468,
"published_at": "2021-02-18T20:15:12.37+00:00"
}