PDF.js < 4.2.67 - Arbitrary JavaScript Execution

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-4367
CVSS Medium (6.4)
Publicly Published May 20, 2024
Last Updated September 26, 2024
Researcher Colin Xu, James Myers (ConfidenceRemainsHigh), Codean Labs
Description

PDF.js is vulnerable to Arbitrary JavaScript Execution in versions prior to 4.2.67. This is due to a missing type check when handling fonts. This makes it possible for authenticated attackers, with contributor-level or above permissions, to execute arbitrary JavaScript if they can successfully trick a user into opening a crafted PDF file.

References

11 affected software package

Software Type Plugin
Software Slug bsk-pdf-manager (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.6
Patched Version
  • 3.6.1
Software Type Plugin
Software Slug pdfjs-viewer-shortcode (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.1.8.1
Patched Version
  • 2.2
Software Type Plugin
Software Slug tainacan (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 0.21.5
Patched Version
  • 0.21.6
Software Type Plugin
Software Slug pdf-viewer-for-elementor (view on wordpress.org)
Patched? No
Affected Version
  • <= 2.9.3
Patched Version
Software Type Plugin
Software Slug ari-fancy-lightbox (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.3.14
Patched Version
  • 1.3.15
Software Type Plugin
Software Slug wonderplugin-pdf-embed (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.7
Patched Version
  • 2.8
Software Type Plugin
Software Slug pdf-embedder (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.7.1
Patched Version
  • 4.8.0
Software Type Plugin
Software Slug pdf-poster (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.1.21
Patched Version
  • 2.1.22
Software Type Plugin
Software Slug pdfjs-viewer-for-elementor (view on wordpress.org)
Patched? No
Affected Version
  • <= 1.3.2
Patched Version
Software Type Plugin
Software Slug embedpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.0.2
Patched Version
  • 4.0.3
Software Type Plugin
Software Slug 3d-flipbook-dflip-lite (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.15.5
Patched Version
  • 1.15.6
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.