# CVE-2026-18245: Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react

> CVE-2026-18245: Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react. CVSS 9.0 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-18245
Last updated: 2026-10-23T22:10:00Z

- Published: 2026-07-30 18:13 UTC · Updated: 2026-10-23 22:10 UTC · Assigner: AMZN
- CVSS: 9.0 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.99%, 62th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-94

## 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 vendors and products

- AWS: Amplify Codegen UI

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-18245)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-18245)
- [https://aws.amazon.com/security/security-bulletins/2026-066-aws/](https://aws.amazon.com/security/security-bulletins/2026-066-aws/)
- [https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6](https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6)
- [https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m69j](https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m69j)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-18245 · Markdown: https://rewindex.com/cve/CVE-2026-18245.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-18245 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:32.453Z
