Skip to content

Add allowedFramingOrigins for MeshCentral clickjacking protection#2417

Open
JonBons wants to merge 1 commit intoamidaware:developfrom
JonBons:feat-mesh-framing-origins
Open

Add allowedFramingOrigins for MeshCentral clickjacking protection#2417
JonBons wants to merge 1 commit intoamidaware:developfrom
JonBons:feat-mesh-framing-origins

Conversation

@JonBons
Copy link

@JonBons JonBons commented Feb 20, 2026

Replace allowFraming with allowedFramingOrigins for default config so only the TacticalRMM frontend can embed MeshCentral in iframes, addressing potential clickjacking. (See PR for MeshCentral changes Ylianst/MeshCentral#7599, was released in version 1.1.57 of MeshCentral)

  • install.sh: use allowedFramingOrigins with frontend domain
  • Docker: add allowedFramingOrigins from APP_HOST (empty array if unset)
  • Ansible mesh.cfg.j2: add allowedFramingOrigins for prod and dev (port 8080)
  • update.sh: migrate existing allowFraming configs to allowedFramingOrigins
    • Skip when FRONTEND is empty or mesh config is missing
    • Add backup and warning on migration failure

Replace allowFraming: true with allowedFramingOrigins so only the
TacticalRMM frontend can embed MeshCentral in iframes, addressing
potential clickjacking.

- install.sh: use allowedFramingOrigins with frontend domain
- Docker: add allowedFramingOrigins from APP_HOST (empty array if unset)
- Ansible mesh.cfg.j2: add allowedFramingOrigins for prod and dev (port 8080)
- update.sh: migrate existing allowFraming configs to allowedFramingOrigins
  - Skip when FRONTEND is empty or mesh config is missing
  - Add backup and warning on migration failure
@CLAassistant
Copy link

CLAassistant commented Feb 20, 2026

CLA assistant check
All committers have signed the CLA.

@JonBons JonBons changed the title feat: add allowedFramingOrigins for MeshCentral clickjacking protection Add allowedFramingOrigins for MeshCentral clickjacking protection Feb 20, 2026
@JonBons
Copy link
Author

JonBons commented Mar 3, 2026

MeshCentral changes that this PR is dependent on is now released in version 1.1.57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants