SCA: security update for @aws-amplify/codegen-ui-react (GHSA-hf3j-86p7-mfw8)

critical Tenable Cloud Security Plugin ID 445517

Description

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

- The AWS Amplify Studio UI component property expressions in the aws-amplify/amplify-codegen-ui package
lack input validation. This could potentially allow an authenticated user who has access to create or
modify components to run arbitrary JavaScript code during the component rendering and build process.
(CVE-2025-4318)

Solution

Update the @aws-amplify/codegen-ui-react library and its related packages to version 2.20.3 or later.

See Also

https://github.com/advisories/GHSA-hf3j-86p7-mfw8

Plugin Details

Severity: Critical

ID: 445517

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/31/2026

Updated: 7/31/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.33

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2025-4318

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/30/2026

Vulnerability Publication Date: 5/5/2025

Reference Information

CVE: CVE-2025-4318

cwe: CWE-95