# Cross-site Scripting in Apache Airflow

Advisory record · `GHSA-3xxv-p78r-4fc6`

- **Identifiers:** `GHSA-3xxv-p78r-4fc6` · `BIT-airflow-2021-28359` · `CVE-2021-28359` · `PYSEC-2021-4`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 18 Jun 2021
- **Updated:** 12 Sept 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 18 Jun 2021, 18:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `apache-airflow` (PyPI): affected `<1.10.15 || >=2.0.0a1, <2.0.2`; fixed in `1.10.15`, `2.0.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.14, the 97th percentile, on 28 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 2 May 2021, 07:55 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2021-28359)
- 2 May 2021, 08:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-28359)

## Sources

- [GitHub Advisory Database: GHSA-3xxv-p78r-4fc6](https://github.com/advisories/GHSA-3xxv-p78r-4fc6)
- [OSV: GHSA-3xxv-p78r-4fc6](https://osv.dev/vulnerability/GHSA-3xxv-p78r-4fc6)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28359>
- <https://github.com/apache/airflow/commit/2fef2ab1bf0f8c727a503940c9c65fd5be208386>
- <https://github.com/advisories/GHSA-3xxv-p78r-4fc6>
- <https://github.com/apache/airflow>
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-4.yaml>
- <https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E>
- <https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432@%3Cannounce.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-3xxv-p78r-4fc6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3xxv-p78r-4fc6/>. Everything for agents: <https://agentprime.io/llms.txt>.
