CVE-2025-4318 — Vulnerability in @aws-amplify/codegen-ui-react —...
AWS Amplify Studio UI Component Properties Has an Input Validation Issue
Summary
Advisory Timeline
- First published July 30, 2026 (74 days ago).
- Last revised July 30, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @aws-amplify/codegen-ui-react@2.20.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| @aws-amplify/codegen-ui-react | npm | All versions | 2.20.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
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
References
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-4318ADVISORY
- https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6WEB
- https://aws.amazon.com/security/security-bulletins/AWS-2025-010WEB
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rceWEB
- https://github.com/aws-amplify/amplify-codegen-uiPACKAGE
- https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3WEB
Frequently Asked Questions
- What is CVE-2025-4318?
- AWS Amplify Studio UI Component Properties Has an Input Validation Issue This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2025-4318?
- CVE-2025-4318 affects @aws-amplify/codegen-ui-react. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-4318 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-28056CRITICAL
AWS Amplify CLI has incorrect trust policy management
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies