Skip to main content
CVE-2024-40732VulnerabilityPublished Updated

CVE-2024-40732: netbox · n/a

Affects netboxSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 26 Oct 2026, 07:57 UTC

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

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-40732, organizations should immediately implement strict input validation and output encoding on the Name parameter at the /dcim/rear-ports/add/ endpoint to prevent injection of malicious scripts. Until an official patch is released, administrators can deploy web application firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting this parameter. Educating users to recognize and avoid interacting with suspicious links or inputs related to NetBox can reduce the risk of exploitation. Additionally, restricting access to the NetBox management interface through network segmentation, VPNs, or IP whitelisting limits exposure to potential attackers. Monitoring logs for unusual activity around the affected endpoint can help detect exploitation attempts early. Organizations should track vendor advisories for patches and apply updates promptly once available. Finally, consider implementing Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser context.

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/rear-ports/add/.

References

Community reviews

Loading reviews…