Advisory

PYSEC-2026-1381

Also known as: CVE-2024-27083, GHSA-fqxj-46wg-9v84

Summary

Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS)

Details

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

flask-appbuilder

PyPI · All systems

Affected

  • introduced 4.1.4, fixed 4.2.1 (ecosystem)

Fixed versions

4.2.1

Fix

  • Fixed version 4.2.1
    pip install --upgrade flask-appbuilder==4.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences