Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious sign-in URL with script in redirect_url
-
DeliveryDeliver link to Mage AI user via phishing
-
ExploitVictim opens crafted URL in browser
-
ExecutionuseMutation processes unsanitized redirect_url
-
PersistXSS payload executes in victim browser session
-
ImpactAttacker performs limited integrity actions (token theft, UI manipulation)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to deliver a crafted URL to a target user who is browsing the Mage AI web interface - passive user interaction (UI:P) is required, meaning the victim must visit the malicious link. No authentication is required on the attacker's part (PR:N). The vulnerability is constrained to the sign-in flow's query.redirect_url parameter, meaning only instances of Mage AI with the web frontend exposed are reachable. Exploitation is limited by the requirement for victim interaction (the victim must click or be redirected to the crafted URL) and by the low impact scope (VI:L - limited to integrity of the vulnerable system, no cross-system or confidentiality compromise). Instances with the web UI restricted to internal networks or VPNs significantly reduce exposure. The vulnerability does not require any non-default configuration - the sign-in page is a standard, enabled feature of all Mage AI deployments. |
| Impact | The CVSS 4.0 base score of 2.1 reflects genuinely limited impact: VI:L (low integrity impact on the vulnerable system only), VC:N (no confidentiality breach), VA:N (no availability impact), and critically UI:P (passive user interaction required). Despite these low individual scores, two signals elevate operational concern: the exploit maturity modifier E:P confirms a public proof-of-concept exists, and the vendor's failure to respond to responsible disclosure leaves no patch path for defenders. The attack vector is network (AV:N), complexity is low (AC:L), and no privileges are required (PR:N), meaning the barrier to exploitation is primarily social engineering a victim to click a malicious link. This is a realistic phishing and session-manipulation vector in a login flow, where XSS can be leveraged to steal session tokens or redirect users to attacker-controlled pages. EPSS data was not provided in the source intelligence, so exploitation probability cannot be quantified numerically. No CISA KEV listing exists. Overall: low CVSS reflects narrow technical scope, but public POC plus zero vendor response warrants prompt compensating controls for organizations running Mage AI. |
| Exploit ScenarioDerived | An attacker crafts a Mage AI sign-in URL with a JavaScript payload embedded in the redirect_url query parameter, such as https://target-mage-instance/sign-in?redirect_url=javascript:alert(document.cookie), and delivers this link to a Mage AI user via phishing email or message. When the victim clicks the link and the sign-in page renders, the unsanitized redirect_url value is processed by the useMutation hook and reflected into the browser's execution context, causing the injected script to run. A public proof-of-concept demonstrating this behavior is available at https://gist.github.com/TrebledJ/8af312cf797391ef7b50b94bb244333a, lowering the skill bar for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 06, 2026
Reflected cross-site scripting in Mage AI's sign-in flow (versions up to and including 0.9.79) allows unauthenticated remote attackers to inject and execute arbitrary JavaScript in a victim's browser by manipulating the query.redirect_url parameter passed to the useMutation hook in the SignForm component. A public proof-of-concept exploit exists (referenced via GitHub gist), elevating real-world risk despite the low CVSS 4.0 score of 2.1. The vendor was notified prior to disclosure but did not respond, meaning no patch is currently available.
RemediationAI
No vendor-released patch has been identified at time of analysis - the vendor was contacted prior to public disclosure but did not respond. As a primary compensating control, administrators should deploy a web application firewall (WAF) rule to sanitize or block script-bearing content in the query.redirect_url parameter on the sign-in endpoint; this may break legitimate redirect flows and should be tested against normal auth workflows before deployment. A second compensating control is to implement a server-side allowlist for redirect_url values, restricting accepted destinations to known internal paths - this is the most targeted mitigation with minimal side effects. Organizations should also configure Content Security Policy (CSP) headers to restrict inline script execution, reducing XSS impact even if the injection point is reached; note that CSP retrofits on existing React applications can cause breakage in dynamic components and require iterative testing. Monitor the Mage AI GitHub repository at https://github.com/mage-ai/mage-ai for a patched release addressing this component. The VulDB tracking entry is at https://vuldb.com/vuln/369016.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable code resides in the React frontend component at mage_ai/frontend/components/Sessions/SignForm/index.tsx, specifically within the useMutation hook that handles authentication flow logic. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: user-supplied input from the query.redirect_url URL parameter is reflected into the rendered page without adequate sanitization or encoding. This is a classic open-redirect-to-XSS pattern common in login flows where the redirect destination is passed as a query parameter and interpolated into JavaScript or HTML context post-authentication. The vulnerability exists in the JavaScript/TypeScript frontend layer of Mage AI, an open-source data pipeline and ML orchestration platform. No CPE string was provided in the source data; the affected software is identifiable by its GitHub repository and version constraint of <= 0.9.79.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was detected in Mage AI up to 0.9.79. This impacts the function useMutation of the file mage_ai/frontend/components/Sessions/SignForm/index.tsx of the component Sign-in Flow. Performing a manipulation of the argument query.redirect_url results in cross site scripting. Remote exploitation of the attack is possible. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-34971
GHSA-22m6-jvxh-3cc5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB