{"id":"CVE-2024-34707","published":"2024-05-13T19:22:41Z","modified":"2024-08-02T02:59:22Z","title":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","vendor":"nautobot","product":"nautobot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.49952,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nautobot/nautobot/pull/5697","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/pull/5698","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nautobot","affectedVersions":[{"vendor":"nautobot","product":"nautobot","versions":["< 1.6.22",">= 2.0.0, < 2.2.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-15T15:20:33.233925Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nautobot","vulnerableRanges":["<1.6.22",">=2.0.0, <2.2.4"],"patched":["1.6.22","2.2.4"],"from":["GHSA-r2hr-4v48-fjv3","PYSEC-2026-1688"],"provenance":"source"}],"summary":{"text":"The Nautobot network source of truth and automation platform allows the BANNER_TOP, BANNER_BOTTOM, and BANNER_LOGIN configuration settings to inject arbitrary HTML into its web pages, which is a stored cross-site scripting weakness. An attacker needs an account with admin privileges to modify these settings through the /admin/constance/config/ endpoint, and exploitation additionally requires a user to interact with the affected pages, such as a victim visiting them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:32Z"},"euvd":{"id":"EUVD-2024-1758","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-23345","published":"2024-01-22","fixed":"2.1.2","kev":false},{"cve":"CVE-2024-29199","published":"2024-03-26","fixed":"2.1.9","kev":false},{"cve":"CVE-2024-32979","published":"2024-05-01","fixed":"2.2.3","kev":false,"link":{"from":"CVE-2024-32979","to":"CVE-2024-34707","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"2.2.3","toFixed":"2.2.4","daysApart":12},{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"1.6.20","toFixed":"1.6.22","daysApart":12}]}},{"cve":"CVE-2024-34707","published":"2024-05-13","fixed":"2.2.4","kev":false},{"cve":"CVE-2024-36112","published":"2024-05-28","fixed":"2.3.0b1","kev":false,"link":{"from":"CVE-2024-34707","to":"CVE-2024-36112","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"2.2.4","toFixed":"2.2.5","daysApart":15},{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"1.6.22","toFixed":"1.6.23","daysApart":15}]}},{"cve":"CVE-2025-49142","published":"2025-06-10","fixed":"2.4.10","kev":false},{"cve":"CVE-2025-49143","published":"2025-06-10","fixed":"2.4.10","kev":false}],"package":"PyPI:nautobot"}}