SCA: security update for react-pdf (GHSA-87hq-q4gp-9wr4)

high Tenable Cloud Security Plugin ID 412514

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- react-pdf displays PDFs in React apps. If PDF.js is used to load a malicious PDF, and PDF.js is configured
with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled
JavaScript will be executed in the context of the hosting domain. This vulnerability is fixed in 7.7.3 and
8.0.2. (CVE-2024-34342)

See Also

https://github.com/advisories/GHSA-87hq-q4gp-9wr4

Plugin Details

Severity: High

ID: 412514

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

Percentile: 57.36

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.3

Temporal Score: 5.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:P

CVSS Score Source: CVE-2024-34342

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/7/2024

Vulnerability Publication Date: 5/7/2024

Reference Information

CVE: CVE-2024-34342

cwe: CWE-79