Skip to main content
VulnerabilityPublished Updated

CVE-2024-40735: netbox · A Cross-site Scripting (XSS)

Affects netboxSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% 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:N

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 26 Oct 2026.

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

1. Immediately implement strict input validation and sanitization on the Name parameter in the /dcim/power-outlets/{id}/edit/ endpoint to prevent script injection. 2. Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the NetBox web interface. 3. Monitor web server and application logs for suspicious input patterns or unusual user activity related to the vulnerable endpoint. 4. Educate users to be cautious of unsolicited links or payloads that could trigger the XSS vulnerability. 5. Restrict access to the NetBox management interface to trusted networks and users to reduce exposure. 6. Regularly update NetBox to the latest version once an official patch addressing CVE-2024-40735 is released. 7. Consider implementing web application firewalls (WAF) with rules to detect and block XSS payloads targeting this endpoint. 8. Conduct security assessments and penetration tests focusing on input validation and XSS vulnerabilities in the NetBox environment. These targeted measures go beyond generic advice by focusing on the specific vulnerable parameter and endpoint, leveraging layered defenses, and emphasizing proactive monitoring.

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

References

Community reviews

Loading reviews…