Update from code changes: document enforced default CSP - #7486
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
ethanpalm
reviewed
Sep 24, 2026
ethanpalm
reviewed
Sep 24, 2026
ethanpalm
reviewed
Sep 24, 2026
ethanpalm
reviewed
Sep 24, 2026
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
ethanpalm
approved these changes
Sep 24, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hosted documentation sites now enforce a default Content Security Policy. It allows any HTTPS origin but blocks HTTP resources,
blob:/data:scripts, plugin objects, and cross-origin workers. Custom scripts or integrations that depend on those patterns stop working. This PR documents the enforced policy and what it blocks.Triggered by https://github.com/mintlify/mint/pull/11819
Changes
deploy/csp-configuration.mdx: added a "Default CSP" section with the full enforced policy, the resources browsers now block, and how to fix affected scripts.es/,fr/, andzh/.Notes for reviewers
Note
Low Risk
Documentation-only updates with no runtime or configuration code changes.
Overview
Documents that Mintlify now enforces a default CSP on every hosted documentation site, replacing wording that implied a passive default policy.
Adds a Default CSP section (English plus
es,fr, andzhmirrors) with the fullContent-Security-Policyheader value, notes onframe-ancestors/form-action, and explicit guidance on what browsers block under that policy: plain HTTP assets,blob:/data:scripts, plugin embeds, and cross-origin workers. The intro and frontmatter keywords are updated accordingly, and blocked-resource bullets use active voice. Localized pages wrap the new heading in<div id="default-csp">for anchor stability.Reviewed by Cursor Bugbot for commit 918f693. Bugbot is set up for automated code reviews on this repo. Configure here.