Nautobot · Nautobot · CVE-2024-23345
**Name of the Vulnerable Software and Affected Versions**
Nautobot versions prior to 1.6.10
Nautobot versions prior to 2.1.2
**Description**
Nautobot is a Network Source of Truth and Network Automation Platform built as a web application. Due to inadequate input sanitization, any user-editable fields that support Markdown rendering are potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data. The affected fields include `Circuit.comments`, `Cluster.comments`, `CustomField.description`, `Device.comments`, `DeviceRedundancyGroup.comments`, `DeviceType.comments`, `Job.description`, `JobLogEntry.message`, `Location.comments`, `Note.note`, `PowerFeed.comments`, `Provider.noc contact`, `Provider.admin contact`, `Provider.comments`, `ProviderNetwork.comments`, `Rack.comments`, `Tenant.comments`, `VirtualMachine.comments`, contents of any custom fields of type `markdown`, job class `description` attributes, and the `SUPPORT MESSAGE` system configuration setting.
**Recommendations**
For Nautobot versions prior to 1.6.10, update to version 1.6.10 or later to resolve the issue.
For Nautobot versions prior to 2.1.2, update to version 2.1.2 or later to resolve the issue.
As a temporary workaround, consider restricting access to user-editable fields that support Markdown rendering until a patch is applied.