CVE-2025-4318
Input validation issue in AWS Amplify Studio UI component properties
- State
- Published
- Severity
- 9.0 Critical
- Published
- May 5, 2025
- Updated
- Jul 29, 2026
- Reserved
- May 5, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.0 Critical | 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 | AMZN |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Products
| Product | Versions |
|---|---|
Amplify StudioAmazon |
|
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-010/vendor-advisory
- https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3patch
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8vendor-advisory
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/exploit
- https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.