CVE-2025-4318 json
Input validation issue in AWS Amplify Studio UI component properties
published last yr. modified 3mo ago also GHSA-hf3j-86p7-mfw8 , EUVD-2025-13500
- cvss
- 9.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @aws-amplify/codegen-ui-react 2.20.3
- Amazon Amplify Studio 2.20.3
Is CVE-2025-4318 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blog.securelayer7.net https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.0 | 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 |
| CNA | 4.0 | 9.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @aws-amplify/codegen-ui-react | <2.20.3 |
2.20.3 |
Affected products
- Amazon Amplify Studio
Classification
- Weakness
-
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
-
github.com
/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3
patch, web
-
github.com
/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6
web
-
blog.securelayer7.net
/cve-2025-4318-aws-amplify-rce/
exploit
-
aws.amazon.com
/security/security-bulletins/AWS-2025-010/
vendor-advisory
-
github.com
/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-4318
advisory
-
aws.amazon.com
/security/security-bulletins/AWS-2025-010
web
-
blog.securelayer7.net
/cve-2025-4318-aws-amplify-rce
web
-
github.com
/aws-amplify/amplify-codegen-ui
package
Sources
- CVE List CVE-2025-4318
- GitHub Advisory GHSA-hf3j-86p7-mfw8
- NVD CVE-2025-4318
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.