diff --git a/airflow-core/src/airflow/ui/src/pages/Security.tsx b/airflow-core/src/airflow/ui/src/pages/Security.tsx index 3a6061478ebad..9de11fc8771c0 100644 --- a/airflow-core/src/airflow/ui/src/pages/Security.tsx +++ b/airflow-core/src/airflow/ui/src/pages/Security.tsx @@ -43,14 +43,15 @@ export const Security = () => { return ; } + // The following iframe sandbox setting is intentionally less restrictive. + // This is considered safe because the framed content originates from the Auth manager, + // which is part of the deployment of Airflow and trusted as per our security policy. + // https://airflow.apache.org/docs/apache-airflow/stable/security/security_model.html + const sandbox = "allow-scripts allow-same-origin allow-forms"; + return ( -