CVE-2024-40735
NixOS vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability exists in netbox version 4.0.3 that allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name parameter at /dcim/power-outlets/{id}/edit/. The vulnerability was disclosed on July 9, 2024 and has been assigned CVE-2024-40735 (NVD).

Technical details

The vulnerability is classified as a Cross-Site Scripting (CWE-79) and Code Injection (CWE-94) weakness. It has received a CVSS v3.1 base score of 6.1 (Medium) with the following vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. This indicates that the vulnerability is network-accessible, requires low attack complexity, needs no privileges, but does require user interaction. The scope is changed, with low impacts to both confidentiality and integrity (NVD).

Impact

The vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of the targeted application. This can lead to theft of sensitive information, manipulation of web content, and potential compromise of user sessions (NVD).

Exploitability

The vulnerability can be exploited by sending a crafted payload to the Name parameter at the /dcim/power-outlets/{id}/edit/ endpoint. A proof of concept is available (Github POC).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • argo-workflows-fips-4.1
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • grafana-13.2
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management