Security advisory
In Netbox Community 4.1.7, once authenticated, Configuration History > Add`is vulnerable to cross-site scripting (XSS) due to the `current value` field rendering user supplied html. An authenticated attacker can leverage this to add malicious JavaScript to the any banner field. Once a victim edits a Configuration History version or attempts to Add a new version, the XSS payload will trigger.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-56916
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:13 UTC · Revision 1
Source evidence
In Netbox Community 4.1.7, once authenticated, Configuration History > Add`is vulnerable to cross-site scripting (XSS) due to the `current value` field rendering user supplied html. An authenticated attacker can leverage this to add malicious JavaScript to the any banner field. Once a victim edits a Configuration History version or attempts to Add a new version, the XSS payload will trigger.
osv:CVE-2024-56916
Complete source record
{
"id": "819667b4bcbea58a380c75fb2e49961fa1ee916d53774ca7cfb7426dc493f3fd",
"url": "https://osv.dev/vulnerability/CVE-2024-56916",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-56916",
"summary": "In Netbox Community 4.1.7, once authenticated, Configuration History > Add`is vulnerable to cross-site scripting (XSS) due to the `current value` field rendering user supplied html. An authenticated attacker can leverage this to add malicious JavaScript to the any banner field. Once a victim edits a Configuration History version or attempts to Add a new version, the XSS payload will trigger.",
"evidence": "osv:CVE-2024-56916",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-56916",
"aliases": [
"CVE-2024-56916"
],
"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": "9c7f2ec98c13aede988e8fbee0d1e30b156a5e8f"
},
{
"fixed": "9c7f2ec98c13aede988e8fbee0d1e30b156a5e8f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:netbox:netbox:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.1.7"
},
{
"last_affected": "4.2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9c7f2ec98c13aede988e8fbee0d1e30b156a5e8f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.1.7"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56916.json"
}
}
],
"modified": "2026-10-28T02:30:38.257156093Z",
"provider": "osv",
"references": [
"https://github.com/netbox-community/netbox/releases/tag/v4.1.7",
"https://github.com/noxlumens/Vulnerability-Research/tree/main/CVE-2024-56916",
"https://www.youtube.com/watch?v=GC8-PUlu2i8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56916.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56916"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56916.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56916",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505610,
"published_at": "2025-06-24T00:00:00+00:00"
}