{"id":"GHSA-v4xv-795h-rv4h","summary":"XSS potential in rendered Markdown fields (comments, description, notes, etc.)","details":"### Impact\n\nAll users of Nautobot versions earlier than 1.6.10 or 2.1.2 are potentially impacted.\n\nDue to inadequate input sanitization, any user-editable fields that support Markdown rendering, including:\n\n- `Circuit.comments`\n- `Cluster.comments`\n- `CustomField.description`\n- `Device.comments`\n- `DeviceRedundancyGroup.comments`\n- `DeviceType.comments`\n- `Job.description`\n- `JobLogEntry.message`\n- `Location.comments`\n- `Note.note`\n- `PowerFeed.comments`\n- `Provider.noc_contact`\n- `Provider.admin_contact`\n- `Provider.comments`\n- `ProviderNetwork.comments`\n- `Rack.comments`\n- `Tenant.comments`\n- `VirtualMachine.comments`\n- Contents of any custom fields of type `markdown`\n- Job class `description` attributes\n- The `SUPPORT_MESSAGE` system configuration setting\n\nare potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data.\n\n### Patches\n\nFixed in Nautobot versions 1.6.10 and 2.1.2.\n\n### References\n\nhttps://github.com/nautobot/nautobot/pull/5133\nhttps://github.com/nautobot/nautobot/pull/5134\n","aliases":["CVE-2024-23345","PYSEC-2024-16"],"modified":"2025-02-15T05:42:28.462602Z","published":"2024-01-23T14:44:22Z","database_specific":{"nvd_published_at":"2024-01-23T00:15:26Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-23T14:44:22Z"},"references":[{"type":"WEB","url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-v4xv-795h-rv4h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23345"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/pull/5133"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/pull/5134"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/commit/17effcbe84a72150c82b138565c311bbee357e80"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/commit/64312a4297b5ca49b6cdedf477e41e8e4fd61cce"},{"type":"PACKAGE","url":"https://github.com/nautobot/nautobot"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2024-16.yaml"}],"affected":[{"package":{"name":"nautobot","ecosystem":"PyPI","purl":"pkg:pypi/nautobot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.2"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.0b1","2.1.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-v4xv-795h-rv4h/GHSA-v4xv-795h-rv4h.json"}},{"package":{"name":"nautobot","ecosystem":"PyPI","purl":"pkg:pypi/nautobot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.10"}]}],"versions":["1.0.0","1.0.0a1","1.0.0a2","1.0.0b1","1.0.0b2","1.0.0b3","1.0.0b4","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.2.10","1.2.11","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.10","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4.0","1.4.1","1.4.10","1.4.2","1.4.3","1.4.4","1.4.5","1.4.7","1.4.8","1.4.9","1.5.0","1.5.1","1.5.10","1.5.11","1.5.12","1.5.13","1.5.14","1.5.15","1.5.16","1.5.17","1.5.18","1.5.19","1.5.2","1.5.20","1.5.21","1.5.22","1.5.23","1.5.24","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-v4xv-795h-rv4h/GHSA-v4xv-795h-rv4h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L"}]}