6.4medium
Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react
- Severity
- 6.4medium CVSS:4.0 by AMZN
- Exploit likelihood
- 0.67% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- AMZN
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AWS Amplify Codegen UI | before 2.20.6 | CVE List |
| amazon amplify_codegen_ui | before 2.20.6 | NVD |
All scores
| AMZN | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| AMZN | 6.4medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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
NVD (es)
Control inadecuado de la generación de código en Amazon @aws-amplify/codegen-ui-react anterior a la versión 2.20.6 podría permitir a un usuario remoto autenticado ejecutar código arbitrario en navegadores de usuario final, máquinas de desarrollador, entornos CI/CD y contextos de renderizado del lado del servidor a través de valores de esquema de componente o tema de Studio manipulados, debido a la cobertura y eficacia insuficientes de la validación de entrada introducida para CVE-2025-4318. Para remediar este problema, los usuarios deberían actualizar a la versión 2.20.6.
References
| https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6 | patch, release-notes | |
| https://aws.amazon.com/security/security-bulletins/2026-066-aws/ | vendor-advisory | |
| https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m69j | patch, third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18245 changed 2026-07-30 | CVE Terms of Use |
| NVD | CVE-2026-18245 changed 2026-10-23 | Public domain |