Intel

AIKIDO-2026-937906

nautobot is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-83801Published Jul 30, 2026
July 30, 2026

54

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Nautobot assigns user-controlled model fields directly to a form field's help_text, which is rendered with Django's |safe filter in render_field.html and bypasses auto-escaping. A user with permission to create or edit Relationships or Module Families can store an HTML or JavaScript payload in a Relationship description or a Module Family name. The payload then executes in the browser of any user, including administrators, who opens an affected create or edit form, enabling session or token theft and actions performed as the victim. The fix renders these fields through Nautobot's Markdown/HTML-safe helpers so the stored content is escaped instead of trusted.

How do I fix this?

Upgrade the nautobot library to the patch version.

Who does this affect?

You are affected if you run a version in the vulnerable range and any not-fully-trusted user holds the extras.add_relationship/extras.change_relationship or dcim.add_modulefamily/dcim.change_modulefamily permission. Such a user can store an HTML/JavaScript payload in a Relationship description or Module Family name, which then executes in the browser of any user (including administrators) who opens an affected create or edit form.

Package

Versions

0.0.1 - 2.4.36

Fixed in 2.4.37

3.0.0 - 3.1.7

Fixed in 3.1.8

Background info

nautobot is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.4.36 and 3.0.0 - 3.1.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea