mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Refactored `js/searchView.js` to use safe DOM APIs (`document.createElement`, `replaceChildren`, `textContent`) instead of `innerHTML`. This reduces the attack surface for XSS vulnerabilities. Updated `scripts/check-innerhtml.mjs` baseline. Verified with unit tests and a frontend verification script. Co-authored-by: PR0M3TH3AN <[email protected]>