Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-34342

24
FAUCET Score

CVE-2024-34342 is a cross-site scripting (XSS) vulnerability affecting react-pdf when used with PDF.js, allowing unrestricted JavaScript execution if PDF.js's isEvalSupported is set to its default true value. This high-severity vulnerability (CVSS 7.1) requires user interaction and a malicious PDF, potentially leading to high confidentiality and integrity impacts. While no active exploitation, public exploit code, or significant community discussion has been observed, patches are available in react-pdf versions 7.7.3 and 8.0.2.

Impacted Technologies

VendorProductVersion(s)CPE
WojtekmajReact-Pdf
< 7.7.3, >= 8.0.0, < 8.0.2CNA affected

CVSS Data

CVSS version used by this source: 3.1

7.1HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
Exploitability Score
1.6
Impact Score
5.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.06%
Probability of exploitation in next 30 days
EPSS Percentile
61.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0106 is in the 45th percentile among its peer group of 1,572 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.4 Bluesky, 0.2 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.6 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

npmpatch availablevia ghsa
Product: react-pdfFixed in: 7.7.3
npmpatch availablevia ghsa
Product: react-pdfFixed in: 8.0.2

Vendor Advisories (1)

npmGHSA-87hq-q4gp-9wr4high

react-pdf vulnerable to arbitrary JavaScript execution upon opening a malicious PDF with PDF.js

May 7, 2024

References

github.com / mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6
github.com / mozilla/pdf.js/pull/18015
github.com / mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq
github.com / wojtekmaj/react-pdf/commit/208f28dd47fe38c33ce4bac4205b2b0a0bb207fe
github.com / wojtekmaj/react-pdf/commit/671e6eaa2e373e404040c13cc6b668fe39839cad
github.com / wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4