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

Published Sep 22, 2026
·
Updated

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 helptext, which is rendered with Django's |safe filter (renderfield.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.addrelationship / extras.changerelationship) 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.addmodulefamily / dcim.changemodulefamily) can put a payload in a Module Family name, which is interpolated into the modulefamily 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.addrelationship / extras.changerelationship and dcim.addmodulefamily / dcim.changemodulefamily 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.

Other sources

Nautobot is a Network Source of Truth and Network Automation Platform. Prior to 2.4.37 and 3.1.8, a user with extras.addrelationship or extras.changerelationship permission can store HTML or JavaScript in a Relationship description, and a user with dcim.addmodulefamily or dcim.changemodulefamily permission can store it in a Module Family name. Nautobot assigns these values to form field helptext rendered by renderfield.html through Django's |safe filter without adequate neutralization. The stored content executes in the authenticated browser session of any user, including an administrator or superuser, who opens an affected create or edit form. This can enable actions as the victim, session or token theft, and further privilege escalation. This issue is fixed in versions 2.4.37 and 3.1.8.

MITRE

Affected Software

3 affected componentsFixes available
Nautobot Nautobot<2.4.37, <3.1.8
pip/nautobot>=3.0.0<3.1.8
3.1.8
pip/nautobot<2.4.37
2.4.37

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/nautobot to a version that resolves this vulnerability.

    Fixed in 3.1.8
  2. Upgrade

    Upgrade pip/nautobot to a version that resolves this vulnerability.

    Fixed in 2.4.37
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.37
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.1.8
  5. Configuration

    Restrict these permissions to fully trusted administrators only.

    Nautobot permissions extras.add_relationship, extras.change_relationship, dcim.add_modulefamily, dcim.change_modulefamily = Fully trusted administrators only
  6. Operational

    Audit existing Relationship description values and Module Family name values for embedded HTML or <script> content, and remove any payloads.

Event History

Sep 22, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:37 PM
Data Sourced
via GitHub·08:37 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can introduce the malicious stored content?

A user needs either extras.add_relationship or extras.change_relationship permission to place it in a Relationship description, or dcim.add_modulefamily or dcim.change_modulefamily permission to place it in a Module Family name.

2

Which users are exposed when the payload is triggered?

Any authenticated user who opens an affected create or edit form can execute the stored content in their browser. This includes administrators and superusers, so the impact depends on the privileges of the user viewing the form.

3

What attacker interaction is required to exploit this issue?

The attacker must have one of the specified Relationship or Module Family create/change permissions and must store HTML or JavaScript in the relevant field. A victim must then open an affected create or edit form; user interaction is required for execution.

4

Which versions contain the fix?

The issue is fixed in Nautobot versions 2.4.37 and 3.1.8. Versions prior to those releases are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203