{"id":"CVE-2024-34707","state":"PUBLISHED","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 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.","publishedAt":"2024-05-13T19:22:41.202Z","updatedAt":"2024-08-02T02:59:22.584Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["nautobot nautobot"],"affected":[{"vendor":"nautobot","product":"nautobot","versions":[{"version":"< 1.6.22","status":"affected"},{"version":">= 2.0.0, < 2.2.4","status":"affected"}]}],"references":["https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","https://github.com/nautobot/nautobot/pull/5697","https://github.com/nautobot/nautobot/pull/5698","https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/34xxx/CVE-2024-34707.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-34707","state":"PUBLISHED","datePublished":"2024-05-13T19:22:41.202Z","dateUpdated":"2024-08-02T02:59:22.584Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-07T13:53:00.133Z"},"containers":{"cna":{"title":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nautobot","product":"nautobot","versions":[{"version":"< 1.6.22","status":"affected"},{"version":">= 2.0.0, < 2.2.4","status":"affected"}]}],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","name":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nautobot/nautobot/pull/5697","name":"https://github.com/nautobot/nautobot/pull/5697","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/pull/5698","name":"https://github.com/nautobot/nautobot/pull/5698","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","name":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","name":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-13T19:22:41.202Z"},"source":{"advisory":"GHSA-r2hr-4v48-fjv3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-34707","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-15T15:20:33.233925Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:41:11.308Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","name":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/nautobot/nautobot/pull/5697","name":"https://github.com/nautobot/nautobot/pull/5697","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/nautobot/nautobot/pull/5698","name":"https://github.com/nautobot/nautobot/pull/5698","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","name":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","name":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:59:22.584Z"}}]}}}