CVE-2025-4318
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-05
- Last modified
- 2026-07-29
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- CVSS 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:- Scored by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- Probability of exploitation
-
0.9 %
higher than 57 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Amazon | Amplify Studio | ≥ 0.1.0, < 2.20.3 | Affected |
Weakness type
-
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1564.009: Resource Forking
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/ca98c38b7c3d69ae7c94d2f62b51e32e…
- https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-hf3j-86p7-mfw8
- https://blog.securelayer7.net/cve-2025-4318-aws-amplify-rce/
Related at Berigo
Articles
-
A fake sign-in page passes the one-time code straight to Microsoft
Same product
2026-08-18
ANY.RUN describes the Mirage2FA phishing toolkit, which places itself between the victim and Microsoft 365. It collects the password, the one-time co…
-
Voicemail lures slip past MFA and hunt for payroll payouts
Same product
2026-08-07
Arctic Wolf has uncovered a widespread phishing campaign against Microsoft 365 accounts in Europe, Canada and the US. The attackers take over the ses…
-
Red Hat npm Miasma credential-stealing campaign
Same product
2026-06-05
32 npm packages under @redhat-cloud-services were modified with malware that steals cloud, SSH and AI tool credentials and spreads to further package…
-
Anthropic launches Glasswing and an AI model aimed at security
Same product
2026-04-07
Claude Mythos Preview is built to find and fix severe software flaws, and Anthropic has assembled over 40 companies in a defensive consortium.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.