XSS can occur in GNOME Web (aka Epiphany) before 40.4 and 41.x before 41.1 because a server's suggested_filename is used as the pdf_name value in PDF.js.
https://www.debian.org/security/2022/dsa-5042
https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1045