AWS Amplify Codegen UI
Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react
Improper control of code generation in Amazon @aws-amplify/codegen-ui-react before 2.20.6 might allow a remote authenticated user to execute arbitrary code in end-user browsers, developer machines, CI/CD environments, and server-side rendering contexts via crafted Studio component or theme schema values due to insufficient coverage and effectiveness of the input validation introduced for CVE-2025-4318. To remediate this issue, users should upgrade to version 2.20.6
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.0critical · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
AWS Amplify Codegen UI
- < 2.20.6
Fixed in 2.20.6
Mitigation
Upgrade Amplify Codegen UI to 2.20.6 or later.
References
- Patch github.com/aws-amplify/amplify-codegen-ui/rele…
- Vendor advisory aws.amazon.com/security/security-bulletins/2026-06…
- Vendor advisory github.com/aws-amplify/amplify-codegen-ui/secu…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.