CVE-2020-35592

Source
https://cve.org/CVERecord?id=CVE-2020-35592
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35592.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35592
Published
2021-02-18T20:15:12Z
Modified
2026-08-27T08:40:13Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/pi-hole/pi-hole

Affected ranges

Type
GIT
Repo
https://github.com/pi-hole/pi-hole
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:pi-hole:pi-hole:5.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:pi-hole:pi-hole:5.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:pi-hole:pi-hole:5.1.1:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "5.0"
        },
        {
            "last_affected": "5.0"
        },
        {
            "introduced": "5.1"
        },
        {
            "last_affected": "5.1"
        },
        {
            "introduced": "5.1.1"
        },
        {
            "last_affected": "5.1.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

5.*
5.0
5.1
5.1.1
v5.*
v5.0
v5.1
v5.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35592.json"

Git / github.com/pi-hole/web

Affected ranges

Type
GIT
Repo
https://github.com/pi-hole/web
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:pi-hole:pi-hole:5.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:pi-hole:pi-hole:5.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:pi-hole:pi-hole:5.1.1:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "5.0"
        },
        {
            "last_affected": "5.0"
        },
        {
            "introduced": "5.1"
        },
        {
            "last_affected": "5.1"
        },
        {
            "introduced": "5.1.1"
        },
        {
            "last_affected": "5.1.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

5.*
5.0
5.1
5.1.1
v5.*
v5.0
v5.1
v5.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35592.json"