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

- Severity: Medium 6.4 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-07-30T18:13:07.047Z
- Modified: 2026-10-23T22:10:00.160Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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

(As written by CVE List.)

## Affected

- AWS Amplify Codegen UI: before 2.20.6
- amazon amplify_codegen_ui: before 2.20.6

## Every score

- AMZN: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- AMZN: CVSS:4.0 6.4 Medium `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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-18245](https://www.cve.org/CVERecord?id=CVE-2026-18245), CVE Terms of Use, modified 2026-07-30
- NVD: [CVE-2026-18245](https://nvd.nist.gov/vuln/detail/CVE-2026-18245), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-18245 · Whole record: https://cve.day/CVE-2026-18245.json · Rebuilt by cve.day 2026-11-25T22:59:30.652Z
