{"cve":"CVE-2025-4318","nvd":{"published":"2025-05-05T19:15:57.847","modified":"2026-07-29T16:17:47.997","status":"Deferred","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.","cvss_v4":{"vector":"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","score":9.0},"cvss_v3":null,"cwes":["CWE-95"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-4318","score":0.00976,"percentile":0.62128,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hf3j-86p7-mfw8","url":"https://osv.dev/vulnerability/GHSA-hf3j-86p7-mfw8","summary":"AWS Amplify Studio UI Component Properties Has an Input Validation Issue","modified":"2026-07-30T21:00:29.843439613Z","packages":[{"ecosystem":"npm","name":"@aws-amplify/codegen-ui-react","purl":"pkg:npm/%40aws-amplify/codegen-ui-react","ranges":["<2.20.3"],"fixed":["2.20.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}