---
id: CVE-2021-45229
title: >-
  It was discovered that the "Trigger DAG with config" screen was susceptible to
  XSS attacks via the `origin` query argument
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.
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
  - CWE-79
vendor: apache
product: airflow
affected:
  - airflow <= 2.2.3
published: '2022-02-25'
updated: '2026-11-27'
sourceUpdated: '2026-11-27T13:17:17.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-45229'
references:
  - url: 'https://lists.apache.org/thread/phx76cgtmhwwdy780rvwhobx8qoy4bnk'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/phx76cgtmhwwdy780rvwhobx8qoy4bnk'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.02601
epssPercentile: 0.86101
ingestedAt: '2026-11-27T13:44:44.667Z'
---

## Overview

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.

## Affected

- `airflow <= 2.2.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
