CVE-2024-40739
NixOS vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability exists in netbox version 4.0.3 that was disclosed on July 9, 2024. The vulnerability allows attackers to execute arbitrary web scripts or HTML by injecting a crafted payload into the Name parameter at the /dcim/power-feeds/add endpoint (NVD).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) with a CVSS v3.1 base score of 6.1 (Medium). The attack vector is Network-based, requires no privileges, but does need user interaction. The vulnerability has a Changed scope with Low impact on both Confidentiality and Integrity, with no impact on Availability (NVD, AttackerKB).

Impact

If successfully exploited, this vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of the targeted application. This could potentially lead to theft of sensitive data, manipulation of content, or other malicious actions performed in the context of the affected user's session (NVD).

Exploitability

The vulnerability requires user interaction to be exploited but does not require authentication or special privileges. A proof of concept exploit has been published and is available publicly (Github Exploit).

Mitigation and workarounds

Users should upgrade to a version newer than netbox v4.0.3 once a patch is available. In the meantime, careful input validation and sanitization should be implemented for the Name parameter in the power-feeds functionality (NVD).

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-72898CRITICAL10
  • NixOS logoNixOS
  • metabase
YesYesAug 10, 2026
CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-sqlite-debuginfo
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-odbc
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-mysql
NoYesAug 06, 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