CVE-2023-48705
nautobot has XSS potential in custom links, job buttons, and computed fields
Also known as GHSA-cf9f-wmhp-v4pr, PYSEC-2023-285
Mitigation
- Upgrade nautobot to one of 1.6.6, 2.0.5 (or later in the same release line).
Who should check
- Projects that depend on PyPI package nautobot (< 1.6.6)
- Anyone running nautobot < 1.6.6; >= 2.0.0, < 2.0.5
Vulnerability facts
- Affected
- nautobot < 1.6.6
- Fixed in
- 1.6.6, 2.0.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-48705. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-48705.md Affected: nautobot < 1.6.6 Fixed in: 1.6.6, 2.0.5 Steps: 1. Search this machine and project for nautobot (PyPI), nautobot: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-48705 being exploited?
There is no confirmed exploitation: CVE-2023-48705 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-48705?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-48705?
nautobot < 1.6.6.
Is there a fix for CVE-2023-48705?
Yes. Fixed in 1.6.6, 2.0.5. Upgrade nautobot to one of 1.6.6, 2.0.5 (or later in the same release line).
How do I check if I'm affected by CVE-2023-48705?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.