Vulnerability 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.
Related Weaknesses (CWE)
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-010/
- https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
- https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
FAQ
What is CVE-2025-4318?
CVE-2025-4318 is a documented vulnerability. 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 creat...
How severe is CVE-2025-4318?
CVSS scoring is not yet available for CVE-2025-4318. Check NVD for updates.
Is there a patch for CVE-2025-4318?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.