XSS in tenant name #8471

Closed
opened 2025-12-29 20:37:10 +01:00 by adam · 1 comment
Owner

Originally created by @GJSBRT on GitHub (Aug 15, 2023).

NetBox version

3.4.7

Python version

3.10

Steps to Reproduce

  1. Create a tenant with the following name "><img src=x onerror=alert(1)>
  2. Edit an IP address
  3. Open the tenant dropdown menu
  4. Observe a alert menu

Expected Behavior

No js should be executed

Observed Behavior

An alert was opened

Originally created by @GJSBRT on GitHub (Aug 15, 2023). ### NetBox version 3.4.7 ### Python version 3.10 ### Steps to Reproduce 1. Create a tenant with the following name ` "><img src=x onerror=alert(1)>` 2. Edit an IP address 3. Open the tenant dropdown menu 4. Observe a alert menu ### Expected Behavior No js should be executed ### Observed Behavior An alert was opened
adam added the status: duplicate label 2025-12-29 20:37:10 +01:00
adam closed this issue 2025-12-29 20:37:10 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Aug 15, 2023):

Duplicate of https://github.com/netbox-community/netbox/issues/12745

Fixed in 3.5.3, please remember to search before opening an issue and always validate on the newest release.

@kkthxbye-code commented on GitHub (Aug 15, 2023): Duplicate of https://github.com/netbox-community/netbox/issues/12745 Fixed in 3.5.3, please remember to search before opening an issue and always validate on the newest release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8471