CVE-2024-34707 json
Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages
published 2024-05-13 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1758 , GHSA-r2hr-4v48-fjv3 , PYSEC-2026-1688
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi nautobot 1.6.22, 2.2.4
- networktocode nautobot 1.6.22, 2.2.4
- github.com/nautobot/nautobot@4f0a66b commit
- github.com/nautobot/nautobot@f640aed commit
- github.com/nautobot/nautobot#5697 pull request
- github.com/nautobot/nautobot#5698 pull request
- github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3 advisory
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nautobot/nautobot/pull/5697 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/nautobot/nautobot/pull/5698 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L |
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nautobot | <1.6.22 >=2.0.0, <2.2.4 |
1.6.22 2.2.4 |
Affected products
- nautobot nautobot
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/nautobot/nautobot/pull/5697
web, exploit, patch
-
github.com
/nautobot/nautobot/pull/5698
web, exploit, patch
-
github.com
/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51c
web, patch
-
github.com
/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423
web, patch
-
github.com
/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3
web, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-34707
advisory
-
github.com
/nautobot/nautobot
package
-
pypi.org
/project/nautobot
package
-
github.com
/advisories/GHSA-r2hr-4v48-fjv3
advisory
Sources
- CVE List CVE-2024-34707
- GitHub Advisory GHSA-r2hr-4v48-fjv3
- NVD CVE-2024-34707
- OSV PYSEC-2026-1688
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.