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.
Problem types
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Product status
0.1.0 (semver) before 2.20.3
References
blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
github.com/...gen-ui/security/advisories/GHSA-hf3j-86p7-mfw8
github.com/...ommit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6
aws.amazon.com/security/security-bulletins/AWS-2025-010/
github.com/...mplify/amplify-codegen-ui/releases/tag/v2.20.3
github.com/...gen-ui/security/advisories/GHSA-hf3j-86p7-mfw8