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.4CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Tainacan tainacan
- Affected≤ 0.21.5
- 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
- Affected≤ 3.6
- 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
- Affected≤ 4.0.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
- Affected≤ 4.7.1
- 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
- Affected≤ 2.7
- 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
- Affected≤ 2.9.3
- 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
- Affected≤ 1.15.5
- 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
- Affected≤ 2.1.21
- 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
- Affected≤ 1.3.14
- 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
- Affected≤ 2.1.8.1
- 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
- Affected≤ 1.3.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
- Update to version 0.21.6, or a newer patched version
- Update to version 3.6.1, or a newer patched version
- Update to version 4.0.3, or a newer patched version
- Update to version 4.8.0, or a newer patched version
- Update to version 2.8, or a newer patched version
- 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.
- Update to version 1.15.6, or a newer patched version
- Update to version 2.1.22, or a newer patched version
- Update to version 1.3.15, or a newer patched version
- Update to version 2.2, or a newer patched version
- 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.
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- 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
- Advisorywordfence.com
Related CVEs
More in Tainacan
All 22| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.9 | Authenticated (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.5 | Authenticated (Subscriber+) Path Traversal to Arbitrary File Read via 'guid' Parameter ≤1.3.0Update to 1.4.0 | CVE-2026-93767 | |
| Medium4.3 | Authenticated (Subscriber+) Information Exposure <1.4.0Update to 1.4.0 | CVE-2026-90989 | |
| High7.5 | Authenticated (Custom Role+) PHP Object Injection ≤1.3.0Update to 1.4.0 | CVE-2026-94676 | |
| Medium6.5 | Authenticated (Subscriber+) SQL Injection ≤1.2.0Update to 1.3.0 | CVE-2026-95590 |
- Medium4.9Authenticated (Editor+) Path Traversal to Arbitrary File Read via 'tmp_file' Parameter via Mass Assignment
≤1.3.0Update to 1.4.0
- Medium6.5Authenticated (Subscriber+) Path Traversal to Arbitrary File Read via 'guid' Parameter
≤1.3.0Update to 1.4.0
- Medium4.3Authenticated (Subscriber+) Information Exposure
<1.4.0Update to 1.4.0
- High7.5Authenticated (Custom Role+) PHP Object Injection
≤1.3.0Update to 1.4.0
- Medium6.5Authenticated (Subscriber+) SQL Injection
≤1.2.0Update to 1.3.0
Same weakness (Cross-Site Scripting)
All Cross-Site Scripting| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 6.4
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.
