Vulnerabilities in pkg:pypi/Flask-AppBuilder
PACKAGECVE-2024-27083 is a MODERATE (CVSS 4.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Flask AppBuilder libraries in the PyPI ecosystem. The issue involves flask-appbuilder's oauth login page subject to cross site scripting (xss). Remediation is available by upgrading affected packages to version 4.2.1.
pkg:pypi/Flask-AppBuilder
Vulnerability advisories affecting package pkg:pypi/Flask-AppBuilder. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fqxj-46wg-9v84 | CVE-2024-27083 | MODERATE | Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS) |
| GHSA-32ff-4g79-vgfc | CVE-2022-31177 | LOW | Flask-AppBuilder before v4.1.3 allows inference of sensitive information through query strings |
| GHSA-9hcr-9hcv-x6pv | CVE-2023-29005 | HIGH | Flask-AppBuilder Has No Rate Limiting on Login AUTH DB |
| GHSA-wfjw-w6pv-8p7f | CVE-2022-21659 | MODERATE | Observable Response Discrepancy in Flask-AppBuilder |
| GHSA-m3rf-7m4w-r66q | CVE-2021-41265 | HIGH | Improper Authentication in Flask-AppBuilder |
| GHSA-624f-cqvr-3qw4 | CVE-2021-32805 | MODERATE | Flask-AppBuilder Open Redirect vulnerability |
| GHSA-434h-p4gx-jm89 | CVE-2021-29621 | MODERATE | Observable Response Discrepancy in Flask-AppBuilder |
| GHSA-jhpr-j7cq-3jp3 | CVE-2023-34110 | MODERATE | Flask-AppBuilder vulnerable to possible disclosure of sensitive information on user error |
| GHSA-j2pw-vp55-fqqj | CVE-2024-25128 | CRITICAL | Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID |
| GHSA-2ccw-7px8-vmpf | CVE-2022-24776 | MODERATE | Open Redirect in Flask-AppBuilder |
CVE-2024-27083 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-27083
To remediate this vulnerability, upgrade all affected Flask AppBuilder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install Flask-AppBuilder>=4.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Flask-AppBuilder
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-27083, inspect your installed packages using pip:
pip show Flask-AppBuilder
Analyze the terminal output to locate any version of Flask AppBuilder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.1), your application is affected.
Note: The pip show Flask-AppBuilder command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Flask AppBuilder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-27083 Affected Flask AppBuilder Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Flask-AppBuilder
|
PyPI |
≥ 4.1.4
< 4.2.1
|
4.2.1
|
References
Frequently Asked Questions
What is CVE-2024-27083?
Which Flask AppBuilder versions are affected?
What version fixes CVE-2024-27083?
Is Flask-AppBuilder affected?
What is the CVSS score of CVE-2024-27083?
What CWE is associated with CVE-2024-27083?
How can I check PyPI dependencies for CVE-2024-27083?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fqxj-46wg-9v84",
"modified" : "2025-04-01T22:59:33Z",
"published" : "2024-02-28T18:37:01Z",
"aliases" : [ "CVE-2024-27083" ],
"summary" : "Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS)",
"details" : "### Impact\nA 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.\n\nImpacted versions:\nFlask-AppBuilder version 4.1.4 up to and including 4.2.0\n\n### Patches\nThis issue was introduced on 4.1.4 and patched on 4.2.1, user's should upgrade to 4.2.1 or newer versions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Flask-AppBuilder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.4"
}, {
"fixed" : "4.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-fqxj-46wg-9v84"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-27083"
}, {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/commit/3d17741886e4b3c384d0570de69689e4117aa812"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-28T18:37:01Z",
"nvd_published_at" : "2024-02-29T01:44:19Z"
}
}