CVE-2024-4367
PDF.js TypeScript Injection
Description
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.
INFO
Published Date :
May 14, 2024, 6:15 p.m.
Last Modified :
May 12, 2026, 12:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2024-4367
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade Firefox to version 126.0 or later.
- Upgrade Firefox ESR to version 115.11 or later.
- Upgrade Thunderbird to version 115.11 or later.
Public PoC/Exploit Available at Github
CVE-2024-4367 has a 51 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-4367.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-4367 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-4367
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
CVE-2024-4367–PDF.js-xss
PHP CSS
Apache Solr for client-side apps — without Solr. Build-time PDF text extraction that turns every PDF on your site into a searchable row and ships the index as a static JSON file. No JVM, no Tika service, no search server, no native deps — Node at build time, JSON at runtime.
TypeScript JavaScript Shell
🛡️ Weaponize PDF.js RCE Exploit Tool 2026 – Ethical Hacking Framework
cve-2024-4367 spyware weaponized
PDF security triage and forensic analysis tool
Dockerfile Shell Java HTML
A proof of concept and analysis of CVE-2024-4367, the PDF.js arbitrary javascript execution exploit
None
Dockerfile Makefile TypeScript JavaScript CSS Shell
My talk "app.alert(1) is the new alert(1): PDF files as a vector to inject JavaScript code in web applications", presented at BSides Sofia 2025 and BSides Krakow 2025.
Dockerfile HTML JavaScript CSS TypeScript CoffeeScript
These are Bug Bounty writeups of Busfactors . Do you have any make PR I will add that one
A collection of 10 vulnerability assessment reports documenting real-world web security issues (Cryptographic Failures, XSS, Clickjacking, Open Redirect, CORS Misconfigurations, Hash Disclosures, and more). Reports follow OWASP Top 10 methodology with reproduction steps, PoCs, and mitigation strategies.
Odoo ≤17 is vulnerable to CVE-2024-4367, allowing arbitrary JavaScript execution via PDF.js.
None
Python
A collection of simulated malicious PDF files for penetration testing and security research. These samples intended only for defensive testing, red team labs, and tool validation.
Python
None
POC
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-4367 vulnerability anywhere in the article.
-
seclists.org
OXAS-ADV-2024-0004: OX App Suite Security Advisory
Full Disclosure mailing list archives OXAS-ADV-2024-0004: OX App Suite Security Advisory From: Martin Heiland via Fulldisclosure <fulldisclosure () seclists org> Date: Mon, 19 Aug 2024 09:34:00 +0200 ... Read more
The following table lists the changes that have been made to the
CVE-2024-4367 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
May. 12, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-827383.html -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 24, 2025
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/52273 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Mar. 28, 2025
Action Type Old Value New Value Added Reference https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/ Added Reference https://github.com/gogs/gogs/issues/7928 Added Reference https://github.com/mozilla/pdf.js/releases/tag/v4.2.67 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 13, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L Added CWE CWE-754 -
Initial Analysis by [email protected]
Jan. 22, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:* versions up to (excluding) 115.11.0 *cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* versions up to (excluding) 126.0 *cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* versions up to (excluding) 115.11.0 Added CPE Configuration OR *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:*:*:*:*:*:*:*:* versions up to (excluding) 7.10.6 *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:-:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision10:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision11:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision12:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision13:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision14:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision15:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision16:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision17:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision18:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision19:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision20:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision21:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision22:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision23:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision24:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision25:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision26:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision27:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision28:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision29:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision3:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision30:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision31:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision32:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision33:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision34:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision35:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision36:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision37:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision38:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision39:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision4:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision40:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision41:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision42:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision43:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision44:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision5:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision6:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision7:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision8:*:*:*:*:*:* *cpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision9:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Changed Reference Type http://seclists.org/fulldisclosure/2024/Aug/30 No Types Assigned http://seclists.org/fulldisclosure/2024/Aug/30 Mailing List Changed Reference Type https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 No Types Assigned https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 Issue Tracking Changed Reference Type https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 No Types Assigned https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 Issue Tracking Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html Mailing List Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-21/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-21/ Vendor Advisory Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-21/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-21/ Vendor Advisory Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-22/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-22/ Vendor Advisory Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-22/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-22/ Vendor Advisory Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-23/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-23/ Vendor Advisory Changed Reference Type https://www.mozilla.org/security/advisories/mfsa2024-23/ No Types Assigned https://www.mozilla.org/security/advisories/mfsa2024-23/ Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2024/Aug/30 Added Reference https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 Added Reference https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html Added Reference https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html Added Reference https://www.mozilla.org/security/advisories/mfsa2024-21/ Added Reference https://www.mozilla.org/security/advisories/mfsa2024-22/ Added Reference https://www.mozilla.org/security/advisories/mfsa2024-23/ -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference Mozilla Corporation https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html [No types assigned] Added Reference Mozilla Corporation https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html [No types assigned] -
CVE Received by [email protected]
May. 14, 2024
Action Type Old Value New Value Added Description 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. Added Reference Mozilla Corporation https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 [No types assigned] Added Reference Mozilla Corporation https://www.mozilla.org/security/advisories/mfsa2024-21/ [No types assigned] Added Reference Mozilla Corporation https://www.mozilla.org/security/advisories/mfsa2024-22/ [No types assigned] Added Reference Mozilla Corporation https://www.mozilla.org/security/advisories/mfsa2024-23/ [No types assigned]