XSS
"CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js" by CodeanLabs
PDF.js compiled glyph rendering commands into a JavaScript Function without properly sanitising the font matrix, allowing an attacker to inject arbitrary JavaScript code via a malicious PDF. This code executes when the PDF is opened, potentially leading to cross-site scripting or native code execution in affected applications.
Mozilla (PDF.js)