CVE-2024-40732
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 through the Name parameter at /dcim/rear-ports/add/ endpoint (NVD).

Technical details

The vulnerability is classified as a Cross-Site Scripting (CWE-79) issue with a CVSS v3.1 Base Score of 6.1 (Medium). The attack vector is Network-based (N), requires low attack complexity (L), needs no privileges (N), and requires user interaction (R). The scope is changed (C) with low impacts to both confidentiality and integrity, but no impact on availability (NVD).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of the user's browser session. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (NVD).

Exploitability

The vulnerability can be exploited by injecting malicious payloads into the Name parameter at the /dcim/rear-ports/add/ endpoint. The attack requires user interaction but no authentication, making it relatively accessible to potential attackers (NVD, 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-18713HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18669HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18235HIGH8.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-17420MEDIUM6.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18250MEDIUM5
  • NixOS logoNixOS
  • i
NoNoAug 12, 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