Input validation issue in AWS Amplify Studio UI component properties

Summary

CVECVE-2025-4318
StatePUBLISHED
AssignerAMZN
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-05 19:15:57 UTC
Updated2026-07-29 16:17:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v4.0 9 CRITICAL from ff89ba41-3aa1-4d27-914a-91399e9639e5

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

EPSS: 0.009230000 probability, percentile 0.568470000 (date 2026-07-30)

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


VersionSourceTypeScoreSeverityVector
4.0ff89ba41-3aa1-4d27-914a-91399e9639e5Secondary9CRITICALCVSS: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/C...
4.0CNACVSS9CRITICALCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
High
Sub Integrity
High
Sub Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Amazon Amplify Studio affected 0.1.0 2.20.3 semver Not specified

References

ReferenceSourceLinkTags
aws.amazon.com/security/security-bulletins/AWS-2025-010 ff89ba41-3aa1-4d27-914a-91399e9639e5 aws.amazon.com
blog.securelayer7.net/cve-2025-4318-aws-amplify-rce 134c704f-9b21-4f2e-91b3-4a467353bcc0 blog.securelayer7.net
github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3 ff89ba41-3aa1-4d27-914a-91399e9639e5 github.com
github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f... af854a3a-2127-422b-91ae-364da2661108 github.com
github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-... af854a3a-2127-422b-91ae-364da2661108 github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report