The flaw, rated 9.5 on the CVSSv4 scale, impacts the amplify-codegen-ui package (versions ≤2.20.2) and was patched in release 2.20.3 on May 5, 2025.
The vulnerability stems from improper input validation in the expression-binding function of the amplify-codegen-ui A core tool for generating front-end code from UI Builder entities.
When developers use the create-component command to import component schemas is used, the system fails to sanitize properties before converting them to executable expressions.
For example, a malicious actor with component-creation privileges could inject unvalidated code like:
javascript{
"componentProperty": "{{escapeJS(userControlledInput)}}"
}
This bypass would allow execution of arbitrary JavaScript during rendering or build processes, potentially compromising backend systems or exfiltrating sensitive data.
AWS confirmed no in-the-wild exploits before patching but emphasized the urgency of updates given the flaw’s criticality.
npm update @aws-amplify/amplify-codegen-ui@2.20.3 Verify installation via: bashnpm list @aws-amplify/amplify-codegen-uiaws amplify --version Ensure CLI tools are updated to versions supporting the patched package.To prevent similar issues, AWS and security experts recommend:
eval(), new Function(), and unsanitized setTimeout/setInterval calls with safer alternatives.AWS has updated Amplify Studio’s logging to track component schema changes, enabling detection of suspicious activity via CloudTrail.
Developers should audit existing components for unexpected expression bindings and monitor AWS Security Bulletins for future updates.
This incident underscores the critical need for rigorous input validation in low-code platforms, where auto-generated code can introduce hidden risks.
As AWS Amplify Studio continues to grow in popularity, maintaining strict access controls and update discipline remains paramount for enterprise security teams.
Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant updates
The post AWS Amplify Studio Vulnerability Exposes Users to Arbitrary Code Execution appeared first on Cyber Security News.
Nathan Fillion’s big Firefly tease has been revealed as a new animated series set between…
He might have realized he’s about to lose a lot of money. | Image: Cath…
If you've got strong creative instincts, the ability to authentically portray emotion, and are capable…
Meta has confirmed it will permanently remove end-to-end encryption (E2EE) support from Instagram direct messages,…
ROME (AP) — Pope Leo XIV demanded a ceasefire in the Middle East on Sunday…
The Galaxy Buds Pro 4 are a nice improvement over the Buds 3, but still…
This website uses cookies.