# CVE-2021-45229: Apache Airflow: Reflected XSS via Origin Query Argument in URL

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.60%, higher than 85% of CVEs (2026-12-01)
- Published: 2022-02-25T08:30:15.000Z
- Modified: 2026-11-27T13:17:17.127Z
- Also known as: GHSA-65xw-pcqw-hjrh, BIT-AIRFLOW-2021-45229, PYSEC-2022-29
- Weaknesses: CWE-79
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Airflow: before 2.2.4
- apache-airflow (PyPI): before 2.2.4rc1
- apache airflow: up to 2.2.3
- airflow (Bitnami): before 2.2.4

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/phx76cgtmhwwdy780rvwhobx8qoy4bnk> (advisory, mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45229> (advisory, web)
- <https://github.com/apache/airflow/commit/628aa1f99c865d97d0b1c7c76e630e43a7b8d319> (web)
- <https://github.com/advisories/GHSA-65xw-pcqw-hjrh> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-29.yaml> (web)

## Sources

- CVE List: [CVE-2021-45229](https://www.cve.org/CVERecord?id=CVE-2021-45229), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-65xw-pcqw-hjrh](https://github.com/advisories/GHSA-65xw-pcqw-hjrh), CC-BY-4.0, modified 2024-09-12
- NVD: [CVE-2021-45229](https://nvd.nist.gov/vuln/detail/CVE-2021-45229), Public domain, modified 2026-11-27
- PyPA Advisory Database: [PYSEC-2022-29](https://osv.dev/vulnerability/PYSEC-2022-29), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2021-45229](https://osv.dev/vulnerability/BIT-AIRFLOW-2021-45229), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-45229 · Whole record: https://cve.day/CVE-2021-45229.json · Rebuilt by cve.day 2026-11-27T13:32:14.036Z
