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

- Severity: Critical 9.0 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-05T18:16:34.075Z
- Modified: 2026-07-30T21:00:29.843Z
- Also known as: GHSA-hf3j-86p7-mfw8
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: AMZN

## Description

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.

(As written by CVE List.)

## Affected

- amplify-codegen-ui: from 0.1.0 before 2.20.3
- @aws-amplify/codegen-ui-react (npm): before 2.20.3

## Every score

- AMZN: CVSS:4.0 9.0 Critical `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`
- GitHub: CVSS:4.0 Critical `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://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/> (exploit)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-010/> (vendor-advisory)
- <https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3> (patch, web)
- <https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8> (vendor-advisory, web)
- <https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4318> (advisory)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-010> (web)
- <https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce> (web)
- <https://github.com/aws-amplify/amplify-codegen-ui> (package)

## Sources

- CVE List: [CVE-2025-4318](https://www.cve.org/CVERecord?id=CVE-2025-4318), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-hf3j-86p7-mfw8](https://github.com/advisories/GHSA-hf3j-86p7-mfw8), CC-BY-4.0, modified 2026-07-30
- NVD: [CVE-2025-4318](https://nvd.nist.gov/vuln/detail/CVE-2025-4318), Public domain, modified 2026-07-29

---

Page: https://cve.day/CVE-2025-4318 · Whole record: https://cve.day/CVE-2025-4318.json · Rebuilt by cve.day 2026-11-25T22:58:57.602Z
