Loading advisory.
Loading advisory.
Nautobot: Stored cross-site scripting (XSS) in object create/edit form help text
_What kind of vulnerability is it? Who is impacted?_
Published 2026-09-22 19:44 UTC · Modified 2026-10-01 17:55 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| nautobot | PyPI | < 2.4.37 >= 3.0.0, < 3.1.8 versions 1.0.0, 1.0.0a1, 1.0.0a2, 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0b4, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.2.0, 1.2.1, 1.2.10 and 199 more | 2.4.37, 3.1.8 | pip install --upgrade 'nautobot>=2.4.37'pip install --upgrade 'nautobot>=3.1.8' |
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.
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.
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.
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.
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 for this discovery goes to Habibullo Izzatilloyev.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.003 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |