Radar sectionsDatabase
Check my site
WordPress plugin

PDF.js < 4.2.67 — Arbitrary JavaScript Execution

CVE-2024-4367Published · Updated

Action summary

Tainacan: Affected: ≤0.21.5Update to 0.21.6 or newer

BSK PDF Manager: Affected: ≤3.6Update to 3.6.1 or newer

EmbedPress: Affected: ≤4.0.2Update to 4.0.3 or newer

PDF Embedder – PDF Viewer & Embed PDF Files for WordPress: Affected: ≤4.7.1Update to 4.8.0 or newer

Wonder PDF Embed: Affected: ≤2.7Update to 2.8 or newer

PDF Viewer for Elementor: Affected: ≤2.9.3No patch available

DearFlip – PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer: Affected: ≤1.15.5Update to 1.15.6 or newer

PDF Poster – Let visitors read PDF’s without leaving the page: Affected: ≤2.1.21Update to 2.1.22 or newer

ARI Fancy Lightbox – Popup for WordPress: Affected: ≤1.3.14Update to 1.3.15 or newer

PDF.js Viewer: Affected: ≤2.1.8.1Update to 2.2 or newer

PDF viewer for Elementor & Gutenberg: Affected: ≤1.3.2No patch available

What to do until a fix ships
Severity
Medium6.4
CVSS
6.4
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:L Privileges required
Low
UI:N User interaction
None
S:C Scope
Changed
C:L Confidentiality
Low
I:L Integrity
Low
A:N Availability
None
Weakness
CWE-79 Cross-Site Scripting
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Tainacan tainacan

  1. Affected≤ 0.21.5
  2. Patched in0.21.6

Update to 0.21.6 or newer.

You are affected if you run ≤ 0.21.5. Version 0.21.6 and later are not affected by this issue.

BSK PDF Manager bsk-pdf-manager

  1. Affected≤ 3.6
  2. Patched in3.6.1

Update to 3.6.1 or newer.

You are affected if you run ≤ 3.6. Version 3.6.1 and later are not affected by this issue.

EmbedPress embedpress

  1. Affected≤ 4.0.2
  2. Patched in4.0.3

Update to 4.0.3 or newer.

You are affected if you run ≤ 4.0.2. Version 4.0.3 and later are not affected by this issue.

PDF Embedder – PDF Viewer & Embed PDF Files for WordPress pdf-embedder

  1. Affected≤ 4.7.1
  2. Patched in4.8.0

Update to 4.8.0 or newer.

You are affected if you run ≤ 4.7.1. Version 4.8.0 and later are not affected by this issue.

Wonder PDF Embed wonderplugin-pdf-embed

  1. Affected≤ 2.7
  2. Patched in2.8

Update to 2.8 or newer.

You are affected if you run ≤ 2.7. Version 2.8 and later are not affected by this issue.

PDF Viewer for Elementor pdf-viewer-for-elementor

  1. Affected≤ 2.9.3
  2. PatchedNo fix yet

No patched version available.

You are affected if you run ≤ 2.9.3. No fixed version has been released.

DearFlip – PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer 3d-flipbook-dflip-lite

  1. Affected≤ 1.15.5
  2. Patched in1.15.6

Update to 1.15.6 or newer.

You are affected if you run ≤ 1.15.5. Version 1.15.6 and later are not affected by this issue.

PDF Poster – Let visitors read PDF’s without leaving the page pdf-poster

  1. Affected≤ 2.1.21
  2. Patched in2.1.22

Update to 2.1.22 or newer.

You are affected if you run ≤ 2.1.21. Version 2.1.22 and later are not affected by this issue.

ARI Fancy Lightbox – Popup for WordPress ari-fancy-lightbox

  1. Affected≤ 1.3.14
  2. Patched in1.3.15

Update to 1.3.15 or newer.

You are affected if you run ≤ 1.3.14. Version 1.3.15 and later are not affected by this issue.

PDF.js Viewer pdfjs-viewer-shortcode

  1. Affected≤ 2.1.8.1
  2. Patched in2.2

Update to 2.2 or newer.

You are affected if you run ≤ 2.1.8.1. Version 2.2 and later are not affected by this issue.

PDF viewer for Elementor & Gutenberg pdfjs-viewer-for-elementor

  1. Affected≤ 1.3.2
  2. PatchedNo fix yet

No patched version available.

You are affected if you run ≤ 1.3.2. No fixed version has been released.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Tainacan.
  • No admin access? Run a passive check of your site. It reads public files only.

What to do

  1. Update to version 0.21.6, or a newer patched version
  2. Update to version 3.6.1, or a newer patched version
  3. Update to version 4.0.3, or a newer patched version
  4. Update to version 4.8.0, or a newer patched version
  5. Update to version 2.8, or a newer patched version
  6. 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.
  7. Update to version 1.15.6, or a newer patched version
  8. Update to version 2.1.22, or a newer patched version
  9. Update to version 1.3.15, or a newer patched version
  10. Update to version 2.2, or a newer patched version
  11. 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.
  12. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  13. Watch Tainacan to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Colin Xu, James Myers (ConfidenceRemainsHigh), Codean Labs.

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.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Tainacan

All 22
More vulnerabilities in Tainacan
SeverityVulnerabilityCVEPublished
Medium4.9Authenticated (Editor+) Path Traversal to Arbitrary File Read via 'tmp_file' Parameter via Mass Assignment
≤1.3.0Update to 1.4.0
CVE-2026-104743
Medium6.5Authenticated (Subscriber+) Path Traversal to Arbitrary File Read via 'guid' Parameter
≤1.3.0Update to 1.4.0
CVE-2026-93767
Medium4.3Authenticated (Subscriber+) Information Exposure
<1.4.0Update to 1.4.0
CVE-2026-90989
High7.5Authenticated (Custom Role+) PHP Object Injection
≤1.3.0Update to 1.4.0
CVE-2026-94676
Medium6.5Authenticated (Subscriber+) SQL Injection
≤1.2.0Update to 1.3.0
CVE-2026-95590

Same weakness (Cross-Site Scripting)

All Cross-Site Scripting
Other Cross-Site Scripting vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688
Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form SubmissionCVE-2026-125055
Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' ParameterCVE-2026-119077
Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce≤5.127.0Update to 5.128.0
CVE-2026-121518

Timeline

  1. CVE published

    Severity medium, CVSS 6.4

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
CVE® identifiers
[object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?