{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-34707","id":"CVE-2024-34707","title":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","description":"Nautobot is a Network Source of Truth and Network Automation Platform. A Nautobot user with admin privileges can modify the `BANNER_TOP`, `BANNER_BOTTOM`, and `BANNER_LOGIN` configuration settings via the `/admin/constance/config/` endpoint. Normally these settings are used to provide custom banner text at the top and bottom of all Nautobot web pages (or specifically on the login page in the case ","descriptionLong":"Nautobot is a Network Source of Truth and Network Automation Platform. A Nautobot user with admin privileges can modify the `BANNER_TOP`, `BANNER_BOTTOM`, and `BANNER_LOGIN` configuration settings via the `/admin/constance/config/` endpoint. Normally these settings are used to provide custom banner text at the top and bottom of all Nautobot web pages (or specifically on the login page in the case of `BANNER_LOGIN`) but it was reported that an admin user can make use of these settings to inject arbitrary HTML, potentially exposing Nautobot users to security issues such as cross-site scripting (stored XSS). The vulnerability is fixed in Nautobot 1.6.22 and 2.2.4.","published":"2024-05-13T19:22:41.202Z","updated":"2026-10-28T02:31:04.039339701Z","reserved":"2024-05-07T13:53:00.133Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["nautobot"],"affectedProducts":[{"vendor":"nautobot","product":"nautobot","defaultStatus":null,"versions":[{"version":"< 1.6.22","status":"affected"},{"version":">= 2.0.0, < 2.2.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"nautobot","purl":"pkg:pypi/nautobot","ranges":["<1.6.22",">=2.0.0 <2.2.4"],"fixed":["1.6.22","2.2.4"],"advisory":"GHSA-r2hr-4v48-fjv3"}],"cwes":["CWE-79"],"aliases":["GHSA-r2hr-4v48-fjv3","PYSEC-2026-1688"],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/nautobot/nautobot/pull/5697","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","fix","web"]},{"url":"https://github.com/nautobot/nautobot/pull/5698","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","fix","web"]},{"url":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34707.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34707","tags":["advisory"]},{"url":"https://github.com/nautobot/nautobot","tags":["package"]},{"url":"https://pypi.org/project/nautobot","tags":["package"]},{"url":"https://github.com/advisories/GHSA-r2hr-4v48-fjv3","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00606,"epssPercentile":0.49813,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-34707","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34707","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-34707","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r2hr-4v48-fjv3","ok":true,"note":"GHSA-r2hr-4v48-fjv3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34707","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}