Advisory

GHSA-fqxj-46wg-9v84

Also known as: CVE-2024-27083, PYSEC-2026-1381

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: The source's own band: MODERATE

Dates

Published
2024-02-28 18:37 UTC
Modified
2026-09-10 03:50 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences