
Cloud Vulnerability DB
A community-led vulnerabilities database
Briefly describe the vulnerability. A user with permission to add or change Custom Link records could set a link's target URL to one that executes script, which would run in the browser of any user who clicked that link on an object's detail page, enabling a stored cross-site scripting (XSS) attack.
What kind of vulnerability is it? Who is impacted?
Nautobot renders each Custom Link's Target URL as a Jinja2 template and places the result in the href attribute of a button or dropdown entry on the detail page of every object of the link's content type. The rendered URL was HTML-escaped, but its URL scheme was never validated, so a URL using a script-executing scheme was emitted unchanged. When another user clicked the link, the script ran in that user's browser in Nautobot's origin, with that user's authenticated session.
Any authenticated user granted extras.add_customlink or extras.change_customlink could exploit this; no other permissions are required. Because the script acts with the victim's session, a link clicked by an administrator can perform any action available to that administrator, including creating new superuser accounts or granting superuser status to an existing account through the REST API. The victim must click the link; viewing the page alone does not trigger it.
This is a different flaw from GHSA-cf9f-wmhp-v4pr, which corrected HTML escaping of custom link output but did not restrict the URL scheme.
Has the problem been patched? What versions should users upgrade to? Fixes are available in Nautobot 2.4.47+ and 3.2.10+.
Is there a way for users to fix or remediate the vulnerability without upgrading?
extras.add_customlink and extras.change_customlink only to fully trusted users.http or https. Because the Target URL is a Jinja2 template, also check templates that could produce such a URL when rendered.Are there any links users can visit to find out more?
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."