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.
References (5)
Core 5
Core References
Various Sources
https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
Patch
https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6
Various Sources vendor-advisory
https://aws.amazon.com/security/security-bulletins/AWS-2025-010/
Release Notes patch
https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3
Vendor Advisory vendor-advisory
https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8
Scores
CVSS v4
9.0
EPSS
0.0092
EPSS Percentile
56.8%
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-95
Status
published
Products (2)
Amazon/Amplify Studio
0.1.0 - 2.20.3
aws-amplify/codegen-ui-react
0 - 2.20.3npm
Published
May 05, 2025
Tracked Since
Feb 18, 2026