CVE-2018-20244: Apache Airflow vulnerable to Stored XSS
5.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.74636%
CWE
Published
3/6/2019
Updated
9/10/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
apache-airflow | pip | < 1.10.2 | 1.10.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from multiple view functions that directly interpolated user-controlled database values (run_id, label, pool) into HTML templates without proper escaping. The commit diff shows the addition of escape() calls to these values, confirming they were vulnerable to XSS. The test case added in test_views.py with <script> tags demonstrates the exploit scenario. All identified functions handle metadata database values that admins could manipulate, making them clear XSS vectors.