CVE-2026-18245
JSON

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 packageVersionsReported by
AWS Amplify Codegen UIbefore 2.20.6CVE List
amazon amplify_codegen_uibefore 2.20.6NVD

All scores

AMZN9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
AMZN6.4medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

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

Sources

SourceRecordLicence
CVE ListCVE-2026-18245 changed 2026-07-30CVE Terms of Use
NVDCVE-2026-18245 changed 2026-10-23Public domain