{"cve":"CVE-2024-34707","nvd":{"published":"2024-05-14T15:39:30.633","modified":"2026-06-17T07:33:54.840","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8},"cwes":["CWE-79"],"references":["https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c","https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423","https://github.com/nautobot/nautobot/pull/5697","https://github.com/nautobot/nautobot/pull/5698","https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3"],"products":["networktocode:nautobot"],"source":"nvd","synced_at":"2026-10-19T21:49:23.840078609+00:00"},"epss":{"cve":"CVE-2024-34707","score":0.00606,"percentile":0.49012,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r2hr-4v48-fjv3","url":"https://osv.dev/vulnerability/GHSA-r2hr-4v48-fjv3","summary":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","modified":"2026-09-10T03:50:14.214530149Z","packages":[{"ecosystem":"PyPI","name":"nautobot","purl":"pkg:pypi/nautobot","ranges":["<1.6.22"],"fixed":["1.6.22"]},{"ecosystem":"PyPI","name":"nautobot","purl":"pkg:pypi/nautobot","ranges":[">=2.0.0 <2.2.4"],"fixed":["2.2.4"]}]},{"id":"PYSEC-2026-1688","url":"https://osv.dev/vulnerability/PYSEC-2026-1688","summary":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","modified":"2026-07-07T17:47:07.181680804Z","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"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}