CVE-2021-45229 json
Apache Airflow: Reflected XSS via Origin Query Argument in URL
published 2022-02-25 4 y ago modified 2026-09-08 2 mo ago also BIT-airflow-2021-45229 , EUVD-2022-0012 , GHSA-65xw-pcqw-hjrh , PYSEC-2022-29
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
It was discovered that the "Trigger DAG with config" screen was susceptible to XSS attacks via the `origin` query argument. This issue affects Apache Airflow versions 2.2.3 and below.
Patch / fix
- pypi apache-airflow 2.2.4rc1
- bitnami airflow 2.2.4
- Apache Software Foundation Apache Airflow 2.2.4
Exploit prediction
2.60% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow | <2.2.4rc1 |
2.2.4rc1 |
| bitnami | airflow | <2.2.4 |
2.2.4 |
Affected products
- Apache Software Foundation Apache Airflow
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/apache/airflow/commit/628aa1f99c865d97d0b1c7c76e630e43a7b8d319
web
-
lists.apache.org
/thread/phx76cgtmhwwdy780rvwhobx8qoy4bnk
web, mailing-list, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-45229
advisory, web
-
github.com
/advisories/GHSA-65xw-pcqw-hjrh
advisory
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-29.yaml
web
Sources
- CVE List CVE-2021-45229
- GitHub Advisory GHSA-65xw-pcqw-hjrh
- NVD CVE-2021-45229
- OSV BIT-airflow-2021-45229
- OSV PYSEC-2022-29
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.