Skip to main content
CVE-2024-40740VulnerabilityPublished Updated

CVE-2024-40740: netbox · n/a

Affects netboxSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% 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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-25.

What to do

Affected software

ProductAffectedFixed in
GitHubnetbox/netboxpkg:github/netbox/netboxOther threatsAffected
  • =4.0.3
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-40740, organizations should implement the following specific measures: 1) Immediately restrict access to the NetBox instance to trusted networks and users, employing network segmentation and firewall rules to limit exposure. 2) Enforce strict input validation and sanitization on the Name parameter at the application or web server level using web application firewalls (WAFs) with custom rules to detect and block XSS payloads targeting the vulnerable endpoint. 3) Disable or restrict editing capabilities on the /dcim/power-feeds/{id}/edit/ page to only highly trusted administrators until a patch is available. 4) Monitor web server and application logs for unusual input patterns or repeated attempts to inject scripts. 5) Educate users to be cautious of suspicious links or inputs within the NetBox interface. 6) Stay updated with vendor announcements and apply official patches promptly once released. 7) Consider deploying Content Security Policy (CSP) headers to reduce the impact of potential XSS exploitation by restricting the execution of unauthorized scripts. 8) Conduct internal penetration testing focused on this vulnerability to assess exposure and effectiveness of mitigations.

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/power-feeds/{id}/edit/.

References

Community reviews

Loading reviews…