Advisory

GHSA-v4xv-795h-rv4h

Also known as: CVE-2024-23345, PYSEC-2024-16

Summary

XSS potential in rendered Markdown fields (comments, description, notes, etc.)

Details

Impact

All users of Nautobot versions earlier than 1.6.10 or 2.1.2 are potentially impacted.

Due to inadequate input sanitization, any user-editable fields that support Markdown rendering, including:

  • 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
  • The SUPPORT_MESSAGE system configuration setting

are potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data.

Patches

Fixed in Nautobot versions 1.6.10 and 2.1.2.

References

https://github.com/nautobot/nautobot/pull/5133
https://github.com/nautobot/nautobot/pull/5134

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-23 14:44 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

nautobot

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

  • Fixed version 2.1.2
    pip install --upgrade nautobot==2.1.2

nautobot

PyPI · All systems

Affected

  • introduced 0, fixed 1.6.10 (ecosystem)

Fixed versions

1.6.10

Fix

  • Fixed version 1.6.10
    pip install --upgrade nautobot==1.6.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences