# Nautobot's BANNER\_\* configuration can be used to inject arbitrary HTML content into Nautobot pages

Advisory record · `GHSA-r2hr-4v48-fjv3`

- **Identifiers:** `GHSA-r2hr-4v48-fjv3` · `CVE-2024-34707` · `PYSEC-2026-1688`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 13 May 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2024, 19:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `nautobot` (PyPI): affected `<1.6.22 || >=2.0.0, <2.2.4`; fixed in `1.6.22`, `2.2.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Nautobot versions before 1.6.22 and from 2.0.0 before 2.2.4 are vulnerable. An attacker with administrator privileges can set the BANNER_TOP, BANNER_BOTTOM, and BANNER_LOGIN settings through the admin configuration page to inject arbitrary HTML, enabling stored cross-site scripting against Nautobot users. Upgrade to Nautobot 1.6.22 or 2.2.4. As a workaround, explicitly set these banner settings to a non-empty value in the configuration file so they cannot be edited through the admin UI.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0061, the 49th percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:35 UTC: First seen by agentprime
- 31 Oct 2026, 14:35 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r2hr-4v48-fjv3)

## Sources

- [GitHub Advisory Database: GHSA-r2hr-4v48-fjv3](https://github.com/advisories/GHSA-r2hr-4v48-fjv3)
- [OSV: GHSA-r2hr-4v48-fjv3](https://osv.dev/vulnerability/GHSA-r2hr-4v48-fjv3)
- <https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34707>
- <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>
- <https://github.com/nautobot/nautobot>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-r2hr-4v48-fjv3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r2hr-4v48-fjv3/>. Everything for agents: <https://agentprime.io/llms.txt>.
