{"id":"CVE-2026-18245","summary":"Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react","details":"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.\n\n\n\nTo remediate this issue, users should upgrade to version 2.20.6","aliases":["GHSA-74xx-rjgf-m69j"],"modified":"2026-08-01T03:46:11.949294117Z","published":"2026-07-30T18:13:07.047Z","database_specific":{"cna_assigner":"AMZN","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18245.json"},"references":[{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/2026-066-aws/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18245.json"},{"type":"ADVISORY","url":"https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m69j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18245"},{"type":"FIX","url":"https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aws-amplify/amplify-codegen-ui","events":[{"introduced":"0"},{"fixed":"39187999ce601eb8aaa86c1afdc704adc708c6eb"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.20.6"}]}}],"versions":["v2.20.5","v2.20.4","v2.20.3","v2.20.2","v2.20.1","v2.20.0","v2.19.4","v2.19.3","v2.19.2","v2.19.1","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.9","v2.15.8","v2.15.7","v2.15.6","v2.15.5","v2.15.4","v2.15.3","v2.15.2","v2.15.1","v2.15.0","v2.14.3","v2.14.2","v2.14.1","v2.14.0","v2.13.1","v2.13.0","v2.12.2","v2.12.1","v2.12.0","v2.11.1","v2.11.0","v2.10.0","v2.9.0","v2.8.0","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.8","v2.5.7","v2.5.6","v2.5.5","v2.5.4","v2.5.2","v2.5.1","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v1.2.0","v1.1.0","v1.0.0","v0.13.1","v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.0","@amzn/test-generator@0.2.0","@amzn/studio-ui-codegen@0.2.0","@amzn/studio-ui-codegen-react@0.2.0","@amzn/amplify-ui-codegen-schema@0.2.0","@amzn/test-generator@0.1.0","@amzn/studio-ui-codegen@0.1.0","@amzn/studio-ui-codegen-react@0.1.0","@amzn/amplify-ui-codegen-schema@0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18245.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}