CVE-2024-27083: Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS)
Impact A Cross-Site Scripting (XSS) vulnerability has been discovered on the OAuth login page. An attacker could trick a user to follow a specially crafted URL to the OAuth login page. This URL could inject and execute malicious javascript code that would get executed on the user's browser.
Published Feb 28, 2024 · Updated Mar 19, 2026
Affected packages
Flask-AppBuilder
- Ecosystem
- PyPI
- Affected
- >= 4.1.4, < 4.2.1
- Fixed in
- 4.2.1
- Check
pip show Flask-AppBuilder
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered on the OAuth login page. An attacker could trick a user to follow a specially crafted URL to the OAuth login page. This URL could inject and execute malicious javascript code that would get executed on the user's browser.
Impacted versions: Flask-AppBuilder version 4.1.4 up to and including 4.2.0
Patches
This issue was introduced on 4.1.4 and patched on 4.2.1, user's should upgrade to 4.2.1 or newer versions.
Credited to chor4o, dpgaspar.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
