VDB
GHSA-87hq-q4gp-9wr4
GHSA-87hq-q4gp-9wr4
PUBLISHED
CVSS 7.099999904632568 HIGH
Record from GitHub Advisory Database · Published May 7, 2024
react-pdf is fixed in 8.0.2 and 7.7.3 (npm)
react-pdf vulnerable to arbitrary JavaScript execution upon opening a malicious PDF with PDF.js
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| react-pdf | npm | 8.0.2, 7.7.3 |
Risk scores
CVSS 3.1
7.099999904632568
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | react-pdf | 0, 8.0.0 |
Timeline
- May 7, 2024 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-87hq-q4gp-9wr4
vulnetix vdb fixes GHSA-87hq-q4gp-9wr4
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-87hq-q4gp-9wr4/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/mozilla/pdf.js/pull/18015 url
- https://github.com/wojtekmaj/react-pdf/commit/671e6eaa2e373e404040c13cc6b668fe39839cad url
- https://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4 url
- https://github.com/wojtekmaj/react-pdf package
- https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq url
- https://nvd.nist.gov/vuln/detail/CVE-2024-34342 advisory
- https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6 url
- https://github.com/wojtekmaj/react-pdf/commit/208f28dd47fe38c33ce4bac4205b2b0a0bb207fe url