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
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Aws Amplify_Codegen_Ui
cpe:2.3:a:aws:amplify_codegen_ui:*:*:*:*:*:*:*:*
|
0
|
2.20.6
|
|
Amazon Amplify_Codegen_Ui
cpe:2.3:a:amazon:amplify_codegen_ui:*:*:*:*:*:node.js:*:*
|
— |
2.20.6
|