---
id: CVE-2024-47226
aliases:
  - PYSEC-2024-325
title: >-
  A stored cross-site scripting (XSS) vulnerability exists in NetBox 4.1.0
  within the "Configuration History" feature of the "Admin" panel …
summary: >-
  A stored cross-site scripting (XSS) vulnerability exists in NetBox 4.1.0
  within the "Configuration History" feature of the "Admin" panel via a
  /core/config-revisions/ Add action. An authenticated user can inject arbitrary
  JavaScript or H…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
vendor: pynetbox
product: pynetbox
ecosystem: pip
affected:
  - pynetbox <= 4.1.0-NA
published: '2024-09-22'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2024-325'
references:
  - url: 'https://github.com/netbox-community/netbox/releases/tag/v4.1.0'
  - url: 'https://github.com/tu3n4nh/netbox/issues/1'
tags:
  - osv
  - pip
epss: 0.00309
epssPercentile: 0.21202
ingestedAt: '2026-07-13T18:58:06.462Z'
---

## Overview

A stored cross-site scripting (XSS) vulnerability exists in NetBox 4.1.0 within the "Configuration History" feature of the "Admin" panel via a /core/config-revisions/ Add action. An authenticated user can inject arbitrary JavaScript or HTML into the "Top banner" field. NOTE: Multiple third parties have disputed this as not a vulnerability. It is argued that the configuration revision banner feature is meant to contain unsanitized HTML in order to display notifications to users. Since these fields are intended to display unsanitized HTML, this is working as intended.

## Affected packages

- `pynetbox <= 4.1.0-NA`

## Remediation

Refer to the advisory for the patched release.
