{"schemaVersion":3,"id":"CVE-2021-28359","aliases":["GHSA-3xxv-p78r-4fc6","BIT-airflow-2021-28359","PYSEC-2021-4"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2021-05-02T07:55:12.000Z","modified":"2024-08-03T21:40:14.401Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.14389,"percentile":0.96588,"severity":"medium","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.14389},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14389,"percentile":0.96588}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14389,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14389,"percentile":0.96588}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow","name":"Apache Airflow","label":"apache airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Apache Airflow 2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"Apache Airflow 2.0.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ Apache Airflow, < 1.10.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"Apache Airflow 2.0.0 | Apache Airflow 2.0.1 | ≥ Apache Airflow, < 1.10.15","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow"},{"vendor":"apache","product":"airflow","name":"Airflow","label":"airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.10.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.10.15 | ≥ 2.0.0, < 2.0.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-airflow","label":"Apache Airflow","category":"framework"}},"hubHref":"/vendor/apache/airflow"},{"vendor":"PyPI","product":"apache-airflow","name":"apache-airflow","label":"apache-airflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow","purlType":"pypi","versions":[{"text":"< 1.10.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0a1, < 2.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.15 | ≥ 2.0.0a1, < 2.0.2 | ≥ 2.0.0, < 2.0.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28359","label":"nvd.nist.gov/vuln/detail/CVE-2021-28359","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow/commit/2fef2ab1bf0f8c727a503940c9c65fd5be208386","label":"github.com/apache/airflow/commit/2fef2ab1bf0f8c727a503940c9c65fd5be208386","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-3xxv-p78r-4fc6","label":"github.com/advisories/GHSA-3xxv-p78r-4fc6","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-4.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-4.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432@%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-05-02T07:55:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T21:40:14.401Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T00:52:11.126Z","stale":false,"partial":false}}