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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 2.20.3 (CNA); fix release not confirmed
- Status: published
- Published: 2025-05-05 · Modified: 2026-07-29
- Aliases: GHSA-hf3j-86p7-mfw8
- Record: https://cvemate.com/vulnerability/CVE-2025-4318 · JSON: https://cvemate.com/vulnerability/CVE-2025-4318/json

## Description

```text
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.
```

## Signals

- CVSS: 9 critical (v4.0, CVE.org) 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
- EPSS: 1.013%, percentile 64.361%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- amazon amplify studio: ≥ 0.1.0, \< 2.20.3
- @aws-amplify codegen-ui-react (Npm): \< 2.20.3

## References

- <https://aws.amazon.com/security/security-bulletins/AWS-2025-010/>
- <https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3>
- <https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8>
- <https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/>
- <https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4318>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-010>
- <https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce>
- <https://github.com/aws-amplify/amplify-codegen-ui>

---

Data as of 2026-12-05T09:19:33.051Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
