CVE-2025-4318
CRITICAL 9.0CVSS 4.0AWS Amplify Studio UI Component Properties Has an Input Validation Issue
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.
- Published
- 5 May 2025
- Last modified
- 30 Jul 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Deferred
- Weakness
- CWE-95
- Also known as
- GHSA-hf3j-86p7-mfw8
- Sources
- NVDJSONOSV GHSA-hf3j-86p7-mfw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | CRITICAL 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @aws-amplify/codegen-ui-react | < 2.20.3 | 2.20.3 |
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-010/ · WEB
- https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3 · WEB
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8 · WEB
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/ · WEB
- https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-4318 · ADVISORY
- https://github.com/aws-amplify/amplify-codegen-ui · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 May 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Jul 2026)