Skip to main content
VulnerabilityPublished Updated

CVE-2024-40726: Vuln-Netbox · A Cross-site Scripting (XSS)

Affects Vuln-NetboxSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 13:47 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 31% 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
GitHubminhquan202/Vuln-Netboxpkg:github/minhquan202/Vuln-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-40726, organizations should first check for and apply any official patches or updates from the NetBox project addressing this vulnerability. In the absence of an official patch, implement strict input validation and output encoding on the 'Name' parameter to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the application. Limit user privileges to the minimum necessary, reducing the impact of potential XSS attacks. Educate users about the risks of clicking on untrusted links, especially those that may lead to the vulnerable endpoint. Monitor web application logs for suspicious input patterns targeting the /dcim/power-ports/{id}/edit/ path. Consider deploying Web Application Firewalls (WAFs) with rules to detect and block XSS payloads targeting this endpoint. Finally, conduct regular security assessments and penetration tests focusing on web interface vulnerabilities to identify and remediate similar issues proactively.

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

References

Community reviews

Loading reviews…