{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-4318",
        "assignerOrgId": "ff89ba41-3aa1-4d27-914a-91399e9639e5",
        "state": "PUBLISHED",
        "assignerShortName": "AMZN",
        "dateReserved": "2025-05-05T14:03:53.695Z",
        "datePublished": "2025-05-05T18:16:34.075Z",
        "dateUpdated": "2026-07-29T15:18:10.368Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ff89ba41-3aa1-4d27-914a-91399e9639e5",
                "shortName": "AMZN",
                "dateUpdated": "2026-07-29T15:18:10.368Z"
            },
            "title": "Input validation issue in AWS Amplify Studio UI component properties",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-95",
                            "description": "CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-592",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-592: Stored XSS"
                        }
                    ]
                },
                {
                    "capecId": "CAPEC-251",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-251: Local Code Inclusion"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Amazon",
                    "product": "Amplify Studio",
                    "collectionURL": "https://github.com/aws-amplify/amplify-codegen-ui",
                    "packageName": "amplify-codegen-ui",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0.1.0",
                            "lessThan": "2.20.3",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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. </p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://aws.amazon.com/security/security-bulletins/AWS-2025-010/",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.3",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "subConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "subIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subAvailabilityImpact": "HIGH",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "CRITICAL",
                        "baseScore": 9,
                        "vectorString": "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"
                    }
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-07-18T16:07:11.415601Z",
                                "id": "CVE-2025-4318",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-07-18T16:15:55.199Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2026-01-28T19:27:08.642Z"
                },
                "references": [
                    {
                        "url": "https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/"
                    },
                    {
                        "url": "https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8"
                    },
                    {
                        "url": "https://github.com/aws-amplify/amplify-codegen-ui/commit/ca98c38b7c3d69ae7c94d2f62b51e32e8165dae6"
                    }
                ],
                "title": "CVE Program Container",
                "x_generator": {
                    "engine": "ADPogram 0.0.1"
                }
            }
        ]
    }
}