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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T02:51:10.948Z

Reserved: 2024-05-02T06:36:32.436Z

Link: CVE-2024-34342

cve-icon Vulnrichment

Updated: 2024-08-02T02:51:10.948Z

cve-icon NVD

Status : Deferred

Published: 2024-05-07T15:15:09.730

Modified: 2026-04-15T00:35:42.020

Link: CVE-2024-34342

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.