CVE-2026-104073
MEDIUM
6,9
Source: [email protected]
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: passive
Confidentiality: N/A
Integrity: N/A
Availability: N/A
HIGH
7,6
Source: [email protected]
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: required
Scope: changed
Confidentiality: high
Integrity: low
Availability: none
Description
AI Translation Available
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.
79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
StableCommon Consequences
Security Scopes Affected:
Access Control
Confidentiality
Integrity
Availability
Potential Impacts:
Bypass Protection Mechanism
Read Application Data
Execute Unauthorized Code Or Commands
Applicable Platforms
Technologies:
AI/ML, Web Based, Web Server
668
Exposure of Resource to Wrong Sphere
DraftCommon Consequences
Security Scopes Affected:
Confidentiality
Integrity
Other
Potential Impacts:
Read Application Data
Modify Application Data
Varies By Context
Applicable Platforms
All platforms may be affected
https://github.com/netbox-community/netbox/issues/22607
https://github.com/netbox-community/netbox/pull/22616
https://github.com/netbox-community/netbox/releases#release-v4.7.0
https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links