CVE-2024-4367
A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This…
- 5.6MediumCVSS base score
- 70.7%Exploitation in 30 daysEPSS · top 0.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
Exploit-DB1 entry
- Firefox ESR 115.11 - PDF.js Arbitrary JavaScript execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 52273remote, multiplepublished 22 Apr 2025Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mozilla
- 14 days later
· 14 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 70.7% · top 0.6% of all CVEs (10 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.6.
Affected products
- affected unspecified – < 126
- affected unspecified – < 115.11
- affected unspecified – < 115.11
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmpdfjs-distGHSA-wgrm-67xf-hhpq (opens in a new tab)
References
12
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-21/ (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-22/ (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-23/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html (opens in a new tab)x_transferred
- http://seclists.org/fulldisclosure/2024/Aug/30 (opens in a new tab)
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67 (opens in a new tab)
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/ (opens in a new tab)
- https://github.com/gogs/gogs/issues/7928 (opens in a new tab)
- https://www.exploit-db.com/exploits/52273 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-1831 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-wgrm-67xf-hhpq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-4367)Record last updated .