01 Record
CVE-2024-34342
react-pdf's PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
HighPUBLISHEDCNA: GitHub_M
CNA base score7.1 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
02 Description
react-pdf's PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.06% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 64.4% of scored records. A rank, not a probability.
- NVD base score
- 7.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-05-07 14:29Z2 YR AGO
- Last updated
- 2024-08-02 02:51Z2 YR AGO
- Reserved
- 2024-05-02
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
- Data version
- 5.1
- Document digest
- 821241bf22d06daafcb8c24069aa4fa2fd37a501e618f79549fbe438c16099a9
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4
- github.comhttps://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq
- github.comhttps://github.com/mozilla/pdf.js/pull/18015
- github.comhttps://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6
- github.comhttps://github.com/wojtekmaj/react-pdf/commit/208f28dd47fe38c33ce4bac4205b2b0a0bb207fe
- github.comhttps://github.com/wojtekmaj/react-pdf/commit/671e6eaa2e373e404040c13cc6b668fe39839cad