# CVE-2021-28359: 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): 14.4%, higher than 96% of CVEs (2026-12-01)
- Published: 2021-05-02T07:55:12.000Z
- Modified: 2026-11-27T13:17:16.617Z
- Also known as: GHSA-3xxv-p78r-4fc6, BIT-AIRFLOW-2021-28359, PYSEC-2021-4
- Weaknesses: CWE-79
- Assigned by: apache

## Description

The "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XSS exploit. This issue affects Apache Airflow versions <1.10.15 in 1.x series and affects 2.0.0 and 2.0.1 and 2.x series. This is the same as CVE-2020-13944 & CVE-2020-17515 but the implemented fix did not fix the issue completely. Update to Airflow 1.10.15 or 2.0.2. Please also update your Python version to the latest available PATCH releases of the installed MINOR versions, example update to Python 3.6.13 if you are on Python 3.6. (Those contain the fix for CVE-2021-23336 https://nvd.nist.gov/vuln/detail/CVE-2021-23336).

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Airflow: 2.0.0; 2.0.1; before 1.10.15
- apache-airflow (PyPI): before 1.10.15; from 2.0.0a1 before 2.0.2; from 1.8.1 before 1.10.15; from 2.0.0 before 2.0.2
- apache airflow: from 1.0.0 before 1.10.15; from 2.0.0 before 2.0.2
- airflow (Bitnami): from 1.0.0 before 1.10.15; from 2.0.0 before 2.0.2

## 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.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E> (advisory, mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28359> (advisory, web)
- <https://github.com/apache/airflow/commit/2fef2ab1bf0f8c727a503940c9c65fd5be208386> (web)
- <https://github.com/advisories/GHSA-3xxv-p78r-4fc6> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-4.yaml> (web)
- <https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432@%3Cannounce.apache.org%3E> (web)

## Sources

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

---

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