CVE-2025-4318
The AWS Amplify Studio UI component property expressions in the aws-amplify/amplify-codegen-ui package lack input validation.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @aws-amplify/codegen-ui-react | <= 2.20.2 | 2.20.3 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-hf3j-86p7-mfw8
- 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/releases/tag/v2.20.3
- https://aws.amazon.com/security/security-bulletins/AWS-2025-010/
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/