Medium
Security advisory
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-feeds/add.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-40739
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:30 UTC · Revision 1
Source evidence
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-feeds/add.
osv:CVE-2024-40739
Complete source record
{
"id": "2272568dc79d8636920b4eed5335c35e94f5a4dd03e063ade109dfe4994ddde2",
"url": "https://osv.dev/vulnerability/CVE-2024-40739",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-40739",
"summary": "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-feeds/add.",
"evidence": "osv:CVE-2024-40739",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-40739",
"aliases": [
"CVE-2024-40739"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/netbox-community/netbox",
"type": "GIT",
"events": [
{
"introduced": "3f345cdbee016243ab5162456ea5415472a2f2df"
},
{
"last_affected": "3f345cdbee016243ab5162456ea5415472a2f2df"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:netbox:netbox:4.0.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.3"
},
{
"last_affected": "4.0.3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.3",
"v4.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40739.json"
}
}
],
"modified": "2026-10-28T02:30:21.389164699Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40739.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40739",
"https://github.com/minhquan202/Vuln-Netbox"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40739.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40739",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487767,
"published_at": "2024-07-09T00:00:00+00:00"
}