PDF.js < 4.2.67 - Arbitrary JavaScript Execution

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-4367
CVSS 6.4 (Medium)
Publicly Published May 20, 2024
Last Updated September 26, 2024
Researchers 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

Share

11 affected software packages

Software Type Plugin
Software Slug ari-fancy-lightbox (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.3.15, or a newer patched version
Affected Version
  • <= 1.3.14
Patched Version
  • 1.3.15
Software Type Plugin
Software Slug bsk-pdf-manager (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.6.1, or a newer patched version
Affected Version
  • <= 3.6
Patched Version
  • 3.6.1
Software Type Plugin
Software Slug 3d-flipbook-dflip-lite (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.15.6, or a newer patched version
Affected Version
  • <= 1.15.5
Patched Version
  • 1.15.6
Software Type Plugin
Software Slug embedpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.0.3, or a newer patched version
Affected Version
  • <= 4.0.2
Patched Version
  • 4.0.3
Software Type Plugin
Software Slug pdf-embedder (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.8.0, or a newer patched version
Affected Version
  • <= 4.7.1
Patched Version
  • 4.8.0
Software Type Plugin
Software Slug pdf-poster (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.1.22, or a newer patched version
Affected Version
  • <= 2.1.21
Patched Version
  • 2.1.22
Software Type Plugin
Software Slug pdf-viewer-for-elementor (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 2.9.3
Software Type Plugin
Software Slug pdfjs-viewer-for-elementor (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 1.3.2
Software Type Plugin
Software Slug pdfjs-viewer-shortcode (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.2, or a newer patched version
Affected Version
  • <= 2.1.8.1
Patched Version
  • 2.2
Software Type Plugin
Software Slug tainacan (view on wordpress.org)
Patched? Yes
Remediation Update to version 0.21.6, or a newer patched version
Affected Version
  • <= 0.21.5
Patched Version
  • 0.21.6
Software Type Plugin
Software Slug wonderplugin-pdf-embed (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.8, or a newer patched version
Affected Version
  • <= 2.7
Patched Version
  • 2.8

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation