CVE-2024-40734: Vuln-Netbox · n/a
Affects Vuln-NetboxSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubminhquan202/Vuln-Netboxpkg:github/minhquan202/Vuln-NetboxOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-40734, organizations should implement the following specific measures: 1) Apply any available official patches or updates from the NetBox project as soon as they are released. 2) Until a patch is available, implement strict input validation and sanitization on the Name parameter at the /dcim/front-ports/add/ endpoint to reject or neutralize potentially malicious scripts. 3) Employ output encoding/escaping techniques on all user-supplied data rendered in the web interface to prevent script execution. 4) Use Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 5) Limit access to the NetBox web interface to trusted networks or VPNs to reduce exposure. 6) Educate users about the risks of clicking untrusted links and encourage the use of multi-factor authentication to reduce session hijacking risks. 7) Monitor web server logs and application logs for suspicious input patterns or repeated attempts to exploit the vulnerability. 8) Conduct regular security assessments and penetration testing focused on web application vulnerabilities, including XSS. These targeted steps go beyond generic advice by focusing on the specific vulnerable parameter and endpoint, leveraging layered defenses, and emphasizing user awareness.
Description
A cross-site scripting (XSS) vulnerability in netbox v4.0.3 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name parameter at /dcim/front-ports/add/.