XSS in Wojtekmaj React-Pdf

CVE-2024-34342

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L.

EPSS exploit prediction

EPSS: 0.011 (63.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-34342: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-34342?
CVE-2024-34342 is a high-severity vulnerability in Wojtekmaj React-Pdf, classified under Cross-site Scripting. CVSS score: 7.1/10. Published 2024-05-07.
How severe is CVE-2024-34342?
High severity. CVSS v3 base score is 7.1 out of 10.
Is CVE-2024-34342 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.