---
id: CVE-2021-28359
title: >-
  The "origin" parameter passed to some of the endpoints like '/trigger' was
  vulnerable to XSS exploit
summary: >-
  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-2…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: apache
product: airflow
affected:
  - 'airflow >= 1.0.0, < 1.10.15'
  - 'airflow >= 2.0.0, < 2.0.2'
patched:
  - airflow 2.0.2
published: '2021-05-02'
updated: '2026-11-27'
sourceUpdated: '2026-11-27T13:17:16.617'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-28359'
references:
  - url: >-
      https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.14389
epssPercentile: 0.97274
ingestedAt: '2026-11-27T13:44:44.665Z'
---

## Overview

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).

## Affected

- `airflow >= 1.0.0, < 1.10.15`
- `airflow >= 2.0.0, < 2.0.2`

## Remediation

Upgrade past the affected range:

- `airflow 2.0.2`
