{"id":"CVE-2026-104073","state":"PUBLISHED","title":"NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links","description":"NetBox versions 2.9.5 before 4.7.0 contain a server-side template injection vulnerability that allows a low-privileged user with the \"Can add custom links\" permission to steal session cookies and API tokens of other users by exposing the raw Django HttpRequest object to the Jinja2 template context. Attackers can craft a custom link template embedding request.COOKIES['sessionid'] or a user's API token into an img src URL, which bypasses the clean_html sanitizer and auto-exfiltrates the victim's credentials to an attacker-controlled host when a privileged user views the object, enabling full account takeover.","publishedAt":"2026-10-06T18:50:28.326Z","updatedAt":"2026-10-27T01:30:32.403Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["netbox-community netbox"],"affected":[{"vendor":"netbox-community","product":"netbox","packageURL":"pkg:github/netbox-community/netbox","defaultStatus":"unaffected","versions":[{"version":"2.9.5","status":"affected","lessThan":"4.7.0","versionType":"semver"}],"repo":"https://github.com/netbox-community/netbox"}],"references":["https://github.com/netbox-community/netbox/releases#release-v4.7.0","https://github.com/netbox-community/netbox/issues/22607","https://github.com/netbox-community/netbox/pull/22616","https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links"],"weaknesses":["CWE-668","CWE-79"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104073.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104073","state":"PUBLISHED","datePublished":"2026-10-06T18:50:28.326Z","dateUpdated":"2026-10-27T01:30:32.403Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-01T18:02:50.083Z"},"containers":{"cna":{"title":"NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links","descriptions":[{"lang":"en","value":"NetBox versions 2.9.5 before 4.7.0 contain a server-side template injection vulnerability that allows a low-privileged user with the \"Can add custom links\" permission to steal session cookies and API tokens of other users by exposing the raw Django HttpRequest object to the Jinja2 template context. Attackers can craft a custom link template embedding request.COOKIES['sessionid'] or a user's API token into an img src URL, which bypasses the clean_html sanitizer and auto-exfiltrates the victim's credentials to an attacker-controlled host when a privileged user views the object, enabling full account takeover."}],"affected":[{"vendor":"netbox-community","product":"netbox","packageURL":"pkg:github/netbox-community/netbox","defaultStatus":"unaffected","versions":[{"version":"2.9.5","status":"affected","lessThan":"4.7.0","versionType":"semver"}],"repo":"https://github.com/netbox-community/netbox"}],"references":[{"url":"https://github.com/netbox-community/netbox/releases#release-v4.7.0","name":"Release Notes","tags":["release-notes"]},{"url":"https://github.com/netbox-community/netbox/issues/22607","name":"GitHub Issue","tags":["issue-tracking"]},{"url":"https://github.com/netbox-community/netbox/pull/22616","name":"Pull Request","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.9,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","version":"3.1","baseSeverity":"HIGH","baseScore":7.6,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-668","lang":"en","description":"Exposure of Resource to Wrong Sphere","type":"CWE"},{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-27T01:30:32.403Z"},"tags":["x_open-source"],"datePublic":"2026-07-03T00:00:00.000Z","credits":[{"lang":"en","value":"Nguyen Hoang","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:netbox:netbox:*:*:*:*:*:*:*:*","versionStartIncluding":"2.9.5","versionEndExcluding":"4.7.0"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T14:10:41.964266Z","id":"CVE-2026-104073","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-07T14:11:51.535Z"}}]}}}