{"answers":{"affected":"5 open source packages ship an affected version, including nautobot. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23345 in the wild and no public exploit code.","fix":"Upgrade nautobot to a fixed version for your release line: 1.6.10 or 2.1.2.","what":"CVE-2024-23345 is a high-severity cross-site scripting vulnerability in nautobot, published on 22 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-23345 and fix it if it is affected.\n\nWhat it is: CVE-2024-23345 is a high-severity cross-site scripting vulnerability in nautobot, published on 22 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-23345 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nautobot (PyPI): affected all versions; fixed in 1.6.10\n- nautobot (PyPI): affected all versions; fixed in 1.6.10\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.1.2, 1.6.10\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.1.2\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-23345/ (Markdown: https://insights.sbomify.com/CVE-2024-23345/index.md)","id":"CVE-2024-23345","markdown":"https://insights.sbomify.com/CVE-2024-23345/index.md","name":"CVE-2024-23345","record":{"aliases":["GHSA-v4xv-795h-rv4h","PYSEC-2024-16"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Network automation platform","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into Markdown fields, potentially executing code or hijacking user sessions in Nautobot.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nautobot","vendor":"networktocode"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.10 or 2.1.2 are potentially impacted by a cross-site scripting vulnerability. Due to inadequate input sanitization, any user-editable fields that support Markdown rendering, including are potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data. This issue is fixed in Nautobot versions 1.6.10 and 2.1.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nautobot has XSS potential in rendered Markdown fields","id":"CVE-2024-23345","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":5,"n_references":5,"next":{"headline":"pymatgen arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_string","id":"CVE-2024-23346"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.10"],"introduced":["0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-v4xv-795h-rv4h"},{"ecosystem":"PyPI","fixed":["1.6.10"],"introduced":["0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-v4xv-795h-rv4h"},{"ecosystem":"PyPI","fixed":["2.1.2","1.6.10"],"introduced":["2.0.0","0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"PYSEC-2024-16"},{"ecosystem":"PyPI","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-v4xv-795h-rv4h"},{"ecosystem":"PyPI","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-v4xv-795h-rv4h"}],"prev":{"headline":"Tuleap's content of artifacts might be readable by unauthorized users","id":"CVE-2024-23344"},"products":["nautobot"],"published":"2024-01-22","related":[{"cvss_score":8.5,"headline":"Nautobot: Webhook definitions could be used for server-side request forgery (SSRF)","id":"CVE-2026-44797","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.5,"headline":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","id":"CVE-2024-34707","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Reflected Cross-site Scripting potential in all object list views in Nautobot","id":"CVE-2024-32979","kev_date_added":null,"published":"2024-05-01"},{"cvss_score":7.5,"headline":"Remote code execution in Jinja2 template rendering in Nautobot","id":"CVE-2023-25657","kev_date_added":null,"published":"2023-02-21"},{"cvss_score":7.1,"headline":"Nautobot: GitRepository.current_head field should not be writable through REST API","id":"CVE-2026-44798","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.1,"headline":"nautobot has XSS potential in custom links, job buttons, and computed fields","id":"CVE-2023-48705","kev_date_added":null,"published":"2023-11-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["nautobot"]},"summary":"Attackers can inject malicious scripts into Markdown fields, potentially executing code or hijacking user sessions in Nautobot.","url":"https://insights.sbomify.com/CVE-2024-23345/"}