Apache Airflow has a stored cross-site scripting vulnerability
Medium5.4CVE-2023-47265 · Published Dec 21, 2023 · updated Feb 13, 2025
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 2.6.0, < 2.8.0b1 | 2.8.0b1 |
Details and references
Apache Airflow, versions 2.6.0 through 2.7.3 has a stored XSS vulnerability that allows a DAG author to add an unbounded and not-sanitized javascript in the parameter description field of the DAG. This Javascript can be executed on the client side of any of the user who looks at the tasks in the browser sandbox. While this issue does not allow to exit the browser sandbox or manipulation of the server-side data - more than the DAG author already has, it allows to modify what the user looking at the DAG details sees in the browser - which opens up all kinds of possibilities of misleading other users. Users of Apache Airflow are recommended to upgrade to version 2.8.0 or newer to mitigate the risk associated with this vulnerability
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- BIT-airflow-2023-47265, CVE-2023-47265, PYSEC-2023-264
- nvd.nist.gov/vuln/detail/CVE-2023-47265
- github.com/apache/airflow/pull/35460
- github.com/apache/airflow/commit/0b995602e6e5894ee31625a4dd0e6aa255d2a651
- github.com/apache/airflow
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-264.yaml
- lists.apache.org/thread/128f3zl375vb1qv93k82zhnwkpl233pr
- www.openwall.com/lists/oss-security/2023/12/21/2
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Dec 212023 | Apache Airflow vulnerable to Exposure of Resource to Wrong Sphere CVE-2023-48291Medium4.3fixed in 2.8.0 | Medium4.3 | 2.8.0 |
| Dec 212023 | Apache Airflow Improper Access Control vulnerability CVE-2023-50783Medium6.5fixed in 2.8.0 | Medium6.5 | 2.8.0 |
| Dec 212023 | Apache Airflow Cross-Site Request Forgery vulnerability CVE-2023-49920Medium6.5fixed in 2.8.0 | Medium6.5 | 2.8.0 |
| Jan 242024 | Apache Airflow: pickle deserialization vulnerability in XComs CVE-2023-50943High7.5fixed in 2.8.1rc1 | High7.5 | 2.8.1rc1 |
| Jan 242024 | Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the Metadata and logged as plain text in the Triggerer service CVE-2023-51702Medium6.5fixed in 2.6.1 | Medium6.5 | 2.6.1 |
| Jan 242024 | Apache Airflow: Bypass permission verification to read code of other dags CVE-2023-50944High6.5fixed in 2.8.1rc1 | High6.5 | 2.8.1rc1 |