A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This vulnerability affects Firefox < 126, Firefox ESR < 115.11, and Thunderbird < 115.11.
https://www.mozilla.org/security/advisories/mfsa2024-23/
https://www.mozilla.org/security/advisories/mfsa2024-22/