CVE-2024-34342
Last modified
CVE-2024-34342 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. react-pdf displays PDFs in React apps. If PDF.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. EPSS estimates a 1.06% chance of exploitation in the next 30 days.
Description
react-pdf displays PDFs in React apps. If PDF.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. This vulnerability is fixed in 7.7.3 and 8.0.2.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-34342?
How severe is CVE-2024-34342?
How do I fix CVE-2024-34342?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-34335ORDAT FOSS-Online before version 2.24.01 was discovered to c…6.1
- CVE-2024-34336User enumeration vulnerability in ORDAT FOSS-Online before v…5.3
- CVE-2024-34338Tenda O3V2 with firmware versions V1.0.0.10 and V1.0.0.12 wa…7.2
- CVE-2024-3434A vulnerability classified as critical was found in CP Plus …5.4
- CVE-2024-34340Cacti provides an operational monitoring and fault managemen…9.1
- CVE-2024-34341Trix is a rich text editor. The Trix editor, versions prior …5.4
- CVE-2024-34343Nuxt is a free and open-source framework to create full-stac…6.1
- CVE-2024-34344Nuxt is a free and open-source framework to create full-stac…8.8
- CVE-2024-34345The CycloneDX JavaScript library contains the core functiona…8.1
- CVE-2024-34346Deno is a JavaScript, TypeScript, and WebAssembly runtime wi…9
- CVE-2024-34347@hoppscotch/cli is a CLI to run Hoppscotch Test Scripts in C…8.3
- CVE-2024-34349Sylius is an open source eCommerce platform. Prior to 1.12.1…4.8
Are you affected by CVE-2024-34342?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
