Intel

AIKIDO-2026-947943

@aws-amplify/codegen-ui-react is vulnerable to Code Injection

CVE-2026-18245Published Aug 5, 2026
August 5, 2026

90

CVE Score

Critical

Code Injection

Are you affected? Scan for Free

TL;DR

Improper control of code generation in @aws-amplify/codegen-ui-react before 2.20.6 could 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.

How do I fix this?

Upgrade the @aws-amplify/codegen-ui-react library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you generate React components or themes from Studio component or theme schema values that can be influenced by untrusted users.

Versions

1.0.0 - 2.20.5

Fixed in 2.20.6

Background info

@aws-amplify/codegen-ui-react is vulnerable to Code Injection in versions 1.0.0 - 2.20.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea