{"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-32979 in the wild and no public exploit code.","fix":"Upgrade nautobot to a fixed version for your release line: 1.6.20 or 2.2.3.","what":"CVE-2024-32979 is a high-severity cross-site scripting vulnerability in nautobot, published on 1 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-32979 and fix it if it is affected.\n\nWhat it is: CVE-2024-32979 is a high-severity cross-site scripting vulnerability in nautobot, published on 1 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-32979 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nautobot (PyPI): affected from 1.5.0; fixed in 1.6.20, 2.2.3\n- nautobot (PyPI): affected from 1.5.0; fixed in 1.6.20\n- nautobot (PyPI): affected from 1.5.0; fixed in 1.6.20\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.2.3\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.2.3\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-32979/ (Markdown: https://insights.sbomify.com/CVE-2024-32979/index.md)","id":"CVE-2024-32979","markdown":"https://insights.sbomify.com/CVE-2024-32979/index.md","name":"CVE-2024-32979","record":{"aliases":["GHSA-jxgr-gcj5-cqqg","PYSEC-2026-1686"],"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":"none","summary":"Attackers can execute arbitrary scripts in victim browsers via crafted URLs in Nautobot object list views, potentially leading to session hijacking or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nautobot","vendor":"networktocode"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/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 atop the Django Python framework with a PostgreSQL or MySQL database. It was discovered that due to improper handling and escaping of user-provided query parameters, a maliciously crafted Nautobot URL could potentially be used to execute a Reflected Cross-Site Scripting (Reflected XSS) attack against users. All filterable object-list views in Nautobot are vulnerable. This issue has been fixed in Nautobot versions 1.6.20 and 2.2.3. There are no known workarounds for this vulnerability.","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":"Reflected Cross-site Scripting potential in all object list views in Nautobot","id":"CVE-2024-32979","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":5,"n_references":4,"next":{"headline":"Spin contains a potential network sandbox escape for specifically configured Spin applications","id":"CVE-2024-32980"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.20","2.2.3"],"introduced":["1.5.0","2.0.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"PYSEC-2026-1686"},{"ecosystem":"PyPI","fixed":["1.6.20"],"introduced":["1.5.0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-jxgr-gcj5-cqqg"},{"ecosystem":"PyPI","fixed":["1.6.20"],"introduced":["1.5.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-jxgr-gcj5-cqqg"},{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-jxgr-gcj5-cqqg"},{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-jxgr-gcj5-cqqg"}],"prev":{"headline":"Kaminari Insecure File Permissions Vulnerability","id":"CVE-2024-32978"},"products":["nautobot"],"published":"2024-05-01","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":"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 rendered Markdown fields","id":"CVE-2024-23345","kev_date_added":null,"published":"2024-01-22"},{"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":"2024-08-02","vendors":["nautobot"]},"summary":"Attackers can execute arbitrary scripts in victim browsers via crafted URLs in Nautobot object list views, potentially leading to session hijacking or data theft.","url":"https://insights.sbomify.com/CVE-2024-32979/"}