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.
https://www.youtube.com/watch?v=GC8-PUlu2i8
https://github.com/noxlumens/Vulnerability-Research/tree/main/CVE-2024-56916
https://github.com/netbox-community/netbox/releases/tag/v4.1.7