nautobot has XSS potential in custom links, job buttons, and computed fields
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Nautobot is a Network Source of Truth and Network Automation Platform built as a web application All users of Nautobot versions earlier than 1.6.6 or 2.0.5 are potentially affected by a cross-site scripting vulnerability. Due to incorrect usage of Django's `mark_safe()` API when rendering certain types of user-authored content; including custom links, job buttons, and computed fields; it is possible that users with permission to create or edit these types of content could craft a malicious payload (such as JavaScript code) that would be executed when rendering pages containing this content. The maintainers have fixed the incorrect uses of `mark_safe()` (generally by replacing them with appropriate use of `format_html()` instead) to prevent such malicious data from being executed. Users on Nautobot 1.6.x LTM should upgrade to v1.6.6 and users on Nautobot 2.0.x should upgrade to v2.0.5. Appropriate object permissions can and should be applied to restrict which users are permitted to create or edit the aforementioned types of user-authored content. Other than that, there is no direct workaround available.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nautobot | nautobot | before 1.6.6; 2.0.0 to before 2.0.5 | 1.6.6, 2.0.5 | Patch available | CNA |
| — | nautobot (PyPI) | before 1.6.6 | 1.6.6 | Patch available | GHSA-cf9f-wmhp-v4pr |
| — | nautobot (PyPI) | 2.0.0 to before 2.0.5 | 2.0.5 | Patch available | GHSA-cf9f-wmhp-v4pr |
- nautobot Vendornautobot Affected before 1.6.6; 2.0.0 to before 2.0.5 Fixed in 1.6.6, 2.0.5 Patch available CNA
- nautobot (PyPI) Vendor— Affected before 1.6.6 Fixed in 1.6.6 Patch available GHSA-cf9f-wmhp-v4pr
- nautobot (PyPI) Vendor— Affected 2.0.0 to before 2.0.5 Fixed in 2.0.5 Patch available GHSA-cf9f-wmhp-v4pr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* | before 1.6.6; 2.0.0 to before 2.0.5 | Vulnerable | Networktocode |
- cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* Versions before 1.6.6; 2.0.0 to before 2.0.5 Vulnerable ·Networktocode
Remediation
- Fix · CNA nautobot (nautobot) Fixed in 1.6.6, 2.0.5
- Fix · GHSA-cf9f-wmhp-v4pr nautobot (PyPI) Fixed in 1.6.6 Advisory →
- Fix · GHSA-cf9f-wmhp-v4pr nautobot (PyPI) Fixed in 2.0.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-48705
- 2026-10-03 Alias added: GHSA-cf9f-wmhp-v4pr
References
Patch 4
Advisory 2
More nautobot vulnerabilities
- TI-2023-10938 Remote code execution in Jinja2 template rendering in Nautobot CVSS 3.1CRITICAL 9.8
- TI-2026-32681 Nautobot: Webhook definitions could be used for server-side request forgery (SSRF) CVSS 3.1HIGH 8.5
- TI-2024-23004 Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages CVSS 3.1HIGH 7.5
- TI-2024-21845 Reflected Cross-site Scripting potential in all object list views in Nautobot CVSS 3.1HIGH 7.5
- TI-2024-15445 Nautobot has XSS potential in rendered Markdown fields CVSS 3.1HIGH 7.1
- TI-2026-32682 Nautobot: GitRepository.current_head field should not be writable through REST API CVSS 3.1HIGH 7.1
Sources
- CVE-2023-48705 · CVE Program
- CVE-2023-48705 · NVD
- FIRST EPSS
- GHSA-cf9f-wmhp-v4pr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences