Mittel

Nautobot: Stored cross-site scripting (XSS) in object create/edit form help text

  • Veröffentlicht: 22.09.2026
  • Aktualisiert: 11.10.2026 15:18

Impact

What kind of vulnerability is it? Who is impacted?

It has two related instances that share the same root cause: a user-controlled model field is assigned verbatim to a form field's help_text, which is rendered with Django's |safe filter (render_field.html), bypassing auto-escaping.

In both cases the script executes in the browser of any user who opens an affected create or edit form, including administrators and superusers. Because the payload runs in the victim's authenticated session, it can lead to actions performed as the victim, session/token theft, and further privilege escalation. Exploitation requires the victim to open an affected form.

Relationship description

A user who holds the add/change permission for Relationships (extras.add_relationship / extras.change_relationship) can set a Relationship's description to an HTML/JavaScript payload. That description is used as the help text of the relationship's form field and is rendered on the create/edit page of every object type the relationship applies to.

Module Family name

A user who holds the add/change permission for Module Families (dcim.add_modulefamily / dcim.change_modulefamily) can put a payload in a Module Family name, which is interpolated into the module_family field's help text on the Module "Install module" form for any module bay assigned to that family.

Patches

Has the problem been patched? What versions should users upgrade to?

Fixes are available in Nautobot v2.4.37+ & v3.1.8+

Note: The underlying weakness exists in earlier EOL versions of Nautobot (v1.x). Users on those older EOL versions are highly encouraged to upgrade to a supported version.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

There is no configuration-only fix. To remediate without upgrading:

  • Restrict the extras.add_relationship / extras.change_relationship and dcim.add_modulefamily / dcim.change_modulefamily permissions to fully trusted administrators only.
  • Audit existing Relationship description values and Module Family name values for embedded HTML / <script> content and remove any payloads.

Note that limiting who can open create/edit forms does not fully mitigate the issue, since the payload targets any user (including admins) who opens an affected form.

Credit

Credit for this discovery goes to Habibullo Izzatilloyev.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) nautobot < 2.4.37, >= 3.0.0, < 3.1.8 2.4.37, 3.1.8

Verweise

CVSS-Wert 5.4/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Schwäche (CWE)
CWE-79
Plattform
Python (PyPI)
Paket
nautobot
Veröffentlicht
22.09.2026
Aktualisiert
11.10.2026 15:18

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-4110 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-56v6-2fhr-wxgq - CC BY 4.0

Schwachstellenhistorie: nautobot

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (19) im Archiv
Einträge insgesamt
19
Erste → letzte
02.2023 09.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 9
  • Mittel 6
  • Niedrig 4

Veröffentlichungen pro Jahr

  1. 2023: 5
  2. 2024: 5
  3. 2025: 2
  4. 2026: 7
Schweregrad:
  1. Nautobot: Stored cross-site scripting (XSS) in object create/edit form help text dieser Eintrag
    Mittel · 5.4 CVE-2026-83801 < 2.4.37, >= 3.0.0, < 3.1.8 2.4.37, 3.1.8
  2. Hoch · 7.1 CVE-2026-44798 >= 3.0.0a2, < 3.1.2, < 2.4.33 3.1.2, 2.4.33
  3. Hoch · 8.5 CVE-2026-44797 >= 3.0.0a2, < 3.1.2, < 2.4.33 3.1.2, 2.4.33
  4. Hoch · 7.5 CVE-2024-34707 < 1.6.22, >= 2.0.0, < 2.2.4 1.6.22, 2.2.4
  5. Hoch · 7.5 CVE-2024-32979 >= 1.5.0, < 1.6.20, >= 2.0.0, < 2.2.3 1.6.20, 2.2.3
  6. Hoch · 7.1 CVE-2024-23345 >= 2.0.0, < 2.1.2, < 1.6.10 2.1.2, 1.6.10
  7. Hoch · 7.1 CVE-2023-48705 < 1.6.6, >= 2.0.0, < 2.0.5 1.6.6, 2.0.5
  8. Hoch · 7.7 CVE-2023-46128 >= 2.0.0, < 2.0.3 2.0.3

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.