CVE-2025-4318
Critical
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.
SeverityCritical
CVSS9.0
Exploit probability—
Product@aws-amplify/codegen-ui-react
PublishedMay 5, 2025
First seenMay 5, 2025
Weakness typeCWE-95CWE-95
How to fix
Update
- @aws-amplify/codegen-ui-react2.20.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @aws-amplify/codegen-ui-reactnpm | v < 2.20.3 | 2.20.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.