CVE-2024-34342

HIGH

react-pdf - RCE

Title source: llm

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.

Exploits (1)

github WORKING POC 191 stars
by LOURC0D3 · pythonpoc
https://github.com/LOURC0D3/CVE-2024-4367-PoC

Scores

CVSS v3 7.1
EPSS 0.0503
EPSS Percentile 89.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Details

CWE
CWE-79
Status published
Products (3)
npm/react-pdf 0 - 7.7.3npm
wojtekmaj/react-pdf < 7.7.3
wojtekmaj/react-pdf >= 8.0.0, < 8.0.2
Published May 07, 2024
Tracked Since Feb 18, 2026