PostHog: Safer browser remote config
Component: posthog · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-20.
PostHog's browser SDK now retrieves remote configuration as JSON instead of executing generated JavaScript when site apps are disabled. Teams using CSP must add the assets host to the `connect-src` directive.
💻 Software Engineers & Devs
Update your CSP policy to include the PostHog assets host in `connect-src` if you load the SDK directly.
📊 Product & Engineering Leads
No user‑visible changes; the update is internal to configuration loading.
⚙️ DevOps & Security
Ensure your deployment environment allows network access to the assets host for the new JSON config fetch.
✨ New Features & Capabilities (1)
- Remote configuration fetched as JSON instead of executing JavaScript
⚡ Performance & Enhancements (1)
- Reduced CSP restrictions by avoiding inline script execution
❓ Frequently Asked Questions
Does PostHog product-abb83c2f0a contain breaking changes?
No, the release does not document any breaking changes; it only modifies how remote config is fetched.
What is the primary highlight of product-abb83c2f0a?
The browser SDK now fetches remote config as JSON rather than executing generated JavaScript, simplifying CSP compliance.
How should teams prepare to upgrade to product-abb83c2f0a?
Add the assets host to the `connect-src` directive in CSP and verify network access for the JSON config endpoint.