CVE-2026-11436: Mage AI Sign-in Flow index.tsx useMutation cross site scripting
A vulnerability was detected in Mage AI up to 0.9.79. This impacts the function useMutation of the file mageai/frontend/components/Sessions/SignForm/index.tsx of the component Sign-in Flow. Performing a manipulation of the argument query.redirecturl 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Validate or whitelist the query.redirect_url parameter so only known safe domains/paths are accepted. Ensure any user-controlled redirect_url is normalized and properly URL-encoded and HTML-escaped/escaped on output to prevent reflected XSS.
Mage AI Sign-in Flow (mage_ai/frontend/components/Sessions/SignForm/index.tsx) query.redirect_url handling = validate and whitelist allowed redirect targets; encode/escape output - Configuration
If redirect behavior is not required for your deployment, disable processing of the query.redirect_url parameter in the sign-in flow to remove the XSS attack surface.
Mage AI Sign-in Flow (mage_ai/frontend/components/Sessions/SignForm/index.tsx) redirect_url usage = disabled if not required - Compensating control
Until the application is fixed, deploy compensating controls such as WAF/IPS rules to block XSS payloads targeting the redirect_url parameter and, where possible, restrict access to the sign-in endpoint to trusted IPs or networks.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-11436?
The severity of CVE-2026-11436 is medium, with a score of 4.3.
How do I fix CVE-2026-11436?
To fix CVE-2026-11436, upgrade Mage AI to a version higher than 0.9.79 where the vulnerability is addressed.
What type of vulnerability is CVE-2026-11436?
CVE-2026-11436 is a cross-site scripting (XSS) vulnerability.
What is affected by CVE-2026-11436?
CVE-2026-11436 affects the useMutation function in the Sign-in Flow component of Mage AI.
Can CVE-2026-11436 be exploited remotely?
Yes, CVE-2026-11436 can be exploited remotely through manipulation of the redirect_url argument.