Fixes #20009: Fix DOM-based XSS vulnerability in search export functionality #1528

Closed
opened 2026-04-06 03:09:17 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jnovinger on 8/1/2025

Fixes: #20009

Replace direct string concatenation with URLSearchParams to properly encode user input in export link URLs, preventing injection of malicious parameters or scripts through the search functionality.

Resolves CodeQL Alert #63 (js/xss-through-dom)

*Originally created by @jnovinger on 8/1/2025* ### Fixes: #20009 Replace direct string concatenation with URLSearchParams to properly encode user input in export link URLs, preventing injection of malicious parameters or scripts through the search functionality. Resolves CodeQL Alert #63 (js/xss-through-dom)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1528