A flaw was found in Moodle where sensitive secrets and keys are not excluded from the export of site administration presets, potentially leading to unintentional leakage if shared with a third party. This issue is related to the unprotected storage of confidential information, which could allow a remote attacker to access sensitive data.