Vulnerability · Published May 5, 2025 · Assigned by AMZN

CVE-2025-4318Input validation issue in AWS Amplify Studio UI component properties

Critical 9.0

In plain English

A critical-severity security flaw in Amplify Studio from Amazon. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.0Critical
Exploit odds (30 days)1.0%top 37.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@aws-amplify/codegen-ui-react2.20.3GHSA-hf3j-86p7-mfw8

Affected products (as reported)

VendorProductVersions
Amazon Amplify Studio 0.1.0 – before 2.20.3

Weakness: CWE-95 · 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

References