CVE-2024-34342
CVSS 3.1 Score 7.1 of 10 (high)
Details
Summary
CVE-2024-34342 is a vulnerability affecting react-pdf, which is used to display PDFs in React apps. If a malicious PDF is loaded using PDF.js, and PDF.js is configured with `isEvalSupported` set to `true`, unrestricted attacker-controlled JavaScript can be executed in the context of the hosting domain. This vulnerability has been fixed in versions 7.7.3 and 8.0.2 of react-pdf. The base severity of this vulnerability is rated as HIGH, with a base score of 7.1 according to CVSS version 3.1. It requires user interaction and has a high impact on both integrity and confidentiality. The exploitability score is 1.6, and the attack vector is through the network. The CWE ID associated with this vulnerability is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting).
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions