mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 06:07:17 -05:00
The release pill assigned a data-link attribute straight to a.href, which CodeQL flags as DOM XSS (js/xss-through-dom). Add a scheme allowlist so only anchor, relative, and http(s) links pass; anything else such as javascript: or data: falls back to #release.