{"id":"EUVD-2025-13500","revision":null,"records":[{"revision":"250d5f4a71304d1c913544e7c734482e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-4318","aliases":[],"title":"Input validation issue in AWS Amplify Studio UI component properties","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.","state":0,"publishedAt":"2025-05-05T18:16:34.075+00:00","modifiedAt":"2026-07-29T15:18:10.368+00:00","affected":[{"ecosystem":"https://github.com/aws-amplify/amplify-codegen-ui","name":"amplify-codegen-ui","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Amazon\",\n                    \"product\": \"Amplify Studio\",\n                    \"collectionURL\": \"https://github.com/aws-amplify/amplify-codegen-ui\",\n                    \"packageName\": \"amplify-codegen-ui\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.1.0\",\n                            \"lessThan\": \"2.20.3\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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,"severity":"CRITICAL"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-4318","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-4318","identifiers":["CVE-2025-4318"]},"retained":false,"historicalAffected":[]},{"revision":"cfcd977f9a3c48b39ea5cb10d30ceaea","observedAt":"2026-11-23T07:27:37.428+00:00","statement":{"source":"euvd","id":"EUVD-2025-13500","aliases":["CVE-2025-4318","GHSA-hf3j-86p7-mfw8"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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,"severity":null}],"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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-13500","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 5, 2025, 6:16:34 PM","dateUpdated":"Jul 29, 2026, 3:18:10 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-13500","identifiers":["EUVD-2025-13500","CVE-2025-4318","GHSA-hf3j-86p7-mfw8"]},"retained":false,"historicalAffected":[]},{"revision":"18019d95ab8949188007daa012f2172f","observedAt":"2026-10-25T02:24:54.05+00:00","statement":{"source":"nvd","id":"CVE-2025-4318","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2025-05-05T19:15:57.847+00:00","modifiedAt":"2026-07-29T16:17:47.997+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · ff89ba41-3aa1-4d27-914a-91399e9639e5 · Secondary","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/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","score":9,"severity":"CRITICAL"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-4318","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-95"],"productCriteria":[],"sourceDates":{"published":"2025-05-05T19:15:57.847","lastModified":"2026-07-29T16:17:47.997"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-4318","identifiers":["CVE-2025-4318"]},"retained":false,"historicalAffected":[]},{"revision":"905574572a7646268d15cd0a63238313","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hf3j-86p7-mfw8","aliases":["CVE-2025-4318"],"title":"AWS Amplify Studio UI Component Properties Has an Input Validation Issue","description":"### Summary\nThe AWS Amplify Studio [amplify-codegen-ui](https://github.com/aws-amplify/amplify-codegen-ui) is a package that generates front-end code from UI Builder entities (components, forms, views, and themes) primarily used in AWS Amplify Studio for component previews and in AWS Command Line Interface (AWS CLI) for generating component files in customers' local applications.\n\nAn issue exists in the Amplify Studio property binding process of the `amplify-codegen-ui `package that could potentially allow an authenticated user to run arbitrary JavaScript code during the component rendering and build process.\n\n### Impact\nWhen importing a component schema using the [create-component](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/amplifyuibuilder/create-component.html) command, Amplify Studio will import and generate the component on the users' behalf. The expression-binding function does not validate the component schema properties before converting them to expressions. As a result, an authenticated user who can create or modify components could run arbitrary JavaScript code during the component rendering and build process. \n\n**Impacted versions: <=2.20.2**\n\n### Patches\nThis issue has been addressed partially in version [2.20.3](https://github.com/aws-amplify/amplify-codegen-ui/pull/1174) and additional fixes in [2.20.4](https://github.com/aws-amplify/amplify-codegen-ui/pull/1196). We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\nThere are no workarounds. Upgrade to version [2.20.4](https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.4).\n\nIf you have any questions or comments about this advisory, AWS asks that you contact AWS/Amazon Security via the [issue-reporting page](https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n### Credit\nAWS would like to thank `ray the bounty hunter` for collaborating on this issue through the coordinated issue disclosure process.","state":0,"publishedAt":"2026-07-30T20:57:24+00:00","modifiedAt":"2026-07-30T21:00:29.8434396+00:00","affected":[{"ecosystem":"npm","name":"@aws-amplify/codegen-ui-react","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.20.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8","https://nvd.nist.gov/vuln/detail/CVE-2025-4318","https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6","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","https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3"],"sourceUrl":"https://github.com/advisories/GHSA-hf3j-86p7-mfw8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hf3j-86p7-mfw8","identifiers":["GHSA-hf3j-86p7-mfw8","CVE-2025-4318"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T15:27:08.3778450+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T15:27:08.377845+00:00","lastSuccessAt":"2026-11-23T15:27:08.5591409+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:08.5591412+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-b59c12a24a88ee6db0e4ad8107ac737603aa4ddc6d8960be680352e274f1a637","complete":true,"records":430641,"lastAttemptAt":"2026-11-23T15:25:28.0267416+00:00","lastSuccessAt":"2026-11-23T14:25:33.2501432+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:25:28.0267416+00:00","snapshotPublishedAt":"2026-11-23T14:23:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-851275d6c53044048b2341b00cde993f","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T15:34:03.2414116+00:00","lastSuccessAt":"2026-11-23T15:34:03.3144636+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:34:03.3144636+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T15:27:08.3778450+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T15:27:08.377845+00:00","lastSuccessAt":"2026-11-23T15:27:08.5599272+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:08.5599274+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-dd5cfceec1694766bbb29d0239e21f97","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T15:27:09.6201037+00:00","lastSuccessAt":"2026-11-23T15:27:09.616+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:09.616+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T15:27:08.3323825+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:08.3323825+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T15:25:28.095061+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:25:28.095061+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-9035327876399d833ccd89428db993d67e1ee675265fd15c191a68c5fa77f5a4","complete":true,"records":3216,"lastAttemptAt":"2026-11-23T15:27:08.3460457+00:00","lastSuccessAt":"2026-11-23T10:27:16.8439398+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:08.3460457+00:00","snapshotPublishedAt":"2026-11-23T09:49:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-3340b862eb26c691d3c6f12d5b7bdaf5cb7b1594a75a2c43c36611e34a1d7547","complete":true,"records":232896,"lastAttemptAt":"2026-11-23T15:27:08.1988373+00:00","lastSuccessAt":"2026-11-23T15:27:07.1405359+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:08.1988373+00:00","snapshotPublishedAt":"2026-11-23T14:33:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}