cve.bz

CVE-2024-34342

7.1 highEPSS 1.1%

High (7.1). EPSS 1.1% chance of exploitation in the next 30 days. Fixed in react-pdf 7.7.3, 8.0.2.

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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
EPSS
1.1% chance of exploitation in the next 30 days; higher than 64% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-87hq-q4gp-9wr4npmreact-pdf<7.7.37.7.3
GHSA-87hq-q4gp-9wr4npmreact-pdf>=8.0.0 <8.0.28.0.2

References

Check your stackJSON