CVE-2026-83801: Nautobot: Stored cross-site scripting (XSS) in object create/edit form help text
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.
Published Sep 22, 2026
Affected packages
nautobot
- Ecosystem
- PyPI
- Affected
- < 2.4.37
- Fixed in
- 2.4.37
- Check
pip show nautobot
nautobot
- Ecosystem
- PyPI
- Affected
- >= 3.0.0, < 3.1.8
- Fixed in
- 3.1.8
- Check
pip show nautobot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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_relationshipanddcim.add_modulefamily/dcim.change_modulefamilypermissions 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.
Credited to pirate077000.
References
- https://github.com/nautobot/nautobot/security/advisories/GHSA-56v6-2fhr-wxgq
- https://github.com/nautobot/nautobot/commit/e6ff20d50e0759135c6d278e7b2ceec56ed9b3c8
- https://github.com/nautobot/nautobot/commit/f8a62466f3ebc42759a6373e7c79b0cad5751c2f
- https://github.com/nautobot/nautobot/releases/tag/v2.4.37
- https://github.com/nautobot/nautobot/releases/tag/v3.1.8
- https://github.com/advisories/GHSA-56v6-2fhr-wxgq
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-83805
Nautobot: Authorization bypass in approval workflow REST API allows self-approval and unauthorized activation of scheduled jobs
medium6.4Sep 22, 2026CVE-2026-44794
Nautobot: REST API permits creation of GenericForeignKey references to objects that the user should not be able to reference
medium5.4May 13, 2026CVE-2026-44796
Nautobot: Object bulk rename UI actions vulnerable to denial of service by crafted regular expression (REDoS)
medium6.5May 13, 2026CVE-2026-44797
Nautobot: Webhook definitions could be used for server-side request forgery (SSRF)
high8.5May 13, 2026CVE-2026-44798
Nautobot: GitRepository.current_head field should not be writable through REST API
high7.1May 13, 2026CVE-2026-34203
Nautobot: Management of users via REST API does not apply configured password validators
low2.7Mar 31, 2026
