LiveActive security incident?Get immediate response
CVE Record

CVE-2025-4318: Input validation issue in AWS Amplify Studio UI component properties

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.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

An authenticated user permitted to create or change Amplify Studio components could insert unsafe property expressions. Those expressions may execute arbitrary JavaScript while components are rendered or built, potentially compromising application data, generated output, and build environments.

Executive priority

Prioritize rapid assessment and remediation for organizations using Amplify Studio with delegated component editing. Treat exposed build environments as high priority because successful abuse may affect confidentiality, integrity, and availability. Escalate immediately if suspicious component changes or build activity are found.

Technical view

CVE-2025-4318 is a CWE-95 input-validation weakness in aws-amplify/amplify-codegen-ui. Crafted UI component property expressions can reach JavaScript evaluation during rendering and builds. Exploitation requires authentication and component modification privileges. The supplied CVSS 4.0 score is 9.0.

Likely exposure

Exposure is limited to environments using the affected Amplify code-generation package where authenticated users can create or modify components. The supplied affected record names version 0.1.0, while the referenced patch is v2.20.3; confirm exact installed versions and vendor guidance because the bundle does not fully explain that range.

Exploitation context

CISA KEV status is false in the supplied bundle, and no cited evidence establishes active exploitation. A public exploit-oriented analysis is referenced, indicating technical details may be available. Required authentication and component-editing privileges reduce reachability but do not eliminate insider, compromised-account, or excessive-permission risk.

Researcher notes

The critical impact depends on a privileged application workflow: attacker-controlled property expressions reaching JavaScript execution during rendering or build processing. Focus review on validation introduced by commit ca98c38 and release v2.20.3. Version scope is ambiguous in the supplied metadata, so avoid assuming all earlier releases are affected without vendor confirmation.

Mitigation direction

  • Upgrade to the vendor-referenced patched release, amplify-codegen-ui v2.20.3.
  • Restrict component creation and modification privileges to trusted users.
  • Review AWS and GitHub advisories for precise affected-version guidance.
  • Rebuild affected components and applications after updating the package.

Validation and detection

  • Inventory Amplify projects and resolve the installed amplify-codegen-ui version.
  • Identify accounts and roles allowed to create or modify Studio components.
  • Review component property expressions for unexpected or untrusted JavaScript-like content.
  • Inspect build and rendering logs for anomalous execution or unauthorized changes.
  • Confirm dependency resolution uses the patched package in clean builds.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-95: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-4318 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HAMZN

Vulnerability scoring details

Base CVSS 4.0 score

9Critical
CVSS 4.0 vector shape for CVE-2025-4318Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AmazonAmplify Studioamplify-codegen-ui, 0.1.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-95 · source CWE mapping

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.