Home

Description

The AWS Amplify Studio UI component property expressions in the aws-amplify/amplify-codegen-ui package lack input validation. This could potentially allow an authenticated user who has access to create or modify components to run arbitrary JavaScript code during the component rendering and build process.

PUBLISHED Reserved 2025-05-05 | Published 2025-05-05 | Updated 2026-01-28 | Assigner AMZN




CRITICAL: 9.5CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Product status

Default status
unaffected

0.1.0 (semver) before 2.20.3
affected

References

blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/ exploit

blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/

github.com/...gen-ui/security/advisories/GHSA-hf3j-86p7-mfw8

github.com/...ommit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6

aws.amazon.com/security/security-bulletins/AWS-2025-010/ vendor-advisory

github.com/...mplify/amplify-codegen-ui/releases/tag/v2.20.3 patch

github.com/...gen-ui/security/advisories/GHSA-hf3j-86p7-mfw8 vendor-advisory

cve.org (CVE-2025-4318)

nvd.nist.gov (CVE-2025-4318)

Download JSON