Critical severityOSV Advisory· Published May 5, 2025· Updated Jul 29, 2026
CVE-2025-4318
CVE-2025-4318
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@aws-amplify/codegen-ui-reactnpm | < 2.20.3 | 2.20.3 |
Affected products
3@amzn/[email protected], @amzn/[email protected], @amzn/[email protected], …+ 1 more
- (no CPE)range: @amzn/[email protected], @amzn/[email protected], @amzn/[email protected], …
- (no CPE)
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-hf3j-86p7-mfw8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-4318ghsaADVISORY
- aws.amazon.com/security/security-bulletins/AWS-2025-010ghsaWEB
- blog.securelayer7.net/cve-2025-4318-aws-amplify-rceghsaWEB
- github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6nvdWEB
- github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3nvdWEB
- github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8nvdWEB
- aws.amazon.com/security/security-bulletins/AWS-2025-010/nvd
- blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/nvd
News mentions
0No linked articles in our index yet.