Advisory record · GHSA-87hq-q4gp-9wr4

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

CVSS 7.1 HighEPSS 0.011 · 65th percentile

Published by the GitHub Advisory Database at 7 May 2024, 16:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
react-pdfnpm<7.7.3 || >=8.0.0, <8.0.27.7.3, 8.0.2
Identifiers
GHSA-87hq-q4gp-9wr4 · CVE-2024-34342
Weakness (CWE)
CWE-79
Published
7 May 2024
Updated
4 Feb 2026

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.011, the 65th percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 7 May 2024. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.