Fix security vulnerabilities: XSS, postMessage origin validation, and…#491
Draft
Syedsmaeel wants to merge 4455 commits into
Draft
Fix security vulnerabilities: XSS, postMessage origin validation, and…#491Syedsmaeel wants to merge 4455 commits into
Syedsmaeel wants to merge 4455 commits into
Conversation
Add recovery phrase to unauth lost 2fa flow See merge request web/clients!24124
DRVWEB: Implement versioning for Index Populators See merge request web/clients!24193
Update proton-meet-core to 1.1.6-13 See merge request web/clients!24164
i18n(weekly-mr:app): Upgrade translations from crowdin (389a334). for webapps See merge request web/clients!24195
DRVWEB: Search errors sentry/comlink hardening 💪 See merge request web/clients!24163
Add comparison table component See merge request web/clients!24174
Improving Meet recording performance See merge request web/clients!21340
Feedback first cancellation flow: different account content See merge request web/clients!24074
fix(INDA-675): Fix snap running under wayland/x11 with Electron v40 See merge request web/clients!24171
Add debug mail store button and modal See merge request web/clients!24332
Add Unauth lost 2fa e2e tests See merge request web/clients!24192
change "pass unlimited" to "proton unlimited" See merge request web/clients!24279
Added 1domain support for vpnbiz2023 See merge request web/clients!24336
Report block verification to erroring users See merge request web/clients!24340
Attempt to fix drawer apps that cannot be closed See merge request web/clients!24089
Avoid layout shift when typing in empty composer See merge request web/clients!24330
Tech: add useSubscriptionCheck hook See merge request web/clients!24276
Fix recovery issue with photos See merge request web/clients!24345
Fix bad org or group name causing issues See merge request web/clients!24324
Final polishes and orchestrator component for cancellation flow See merge request web/clients!24146
MEET-279: participants role, share screen slice and other UIs fixes See merge request web/clients!24334
…them to search queries)
DRVWEB-5359: Include trashed items in search index (without exposing them to search queries) See merge request web/clients!24300
[IDTEAM-5924] Remove cycle param in pass signup, keep the cycle page See merge request web/clients!24328
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.
Security Hardening: XSS Prevention and Cross-Window Communication Security
This PR implements critical security improvements and "defense-in-depth" measures across several applications within the Proton WebClients
monorepo. The focus is on preventing Cross-Site Scripting (XSS), securing postMessage communication, and hardening external link handling.
Key Changes
the client, it is neutralized before being injected into the DOM.
messages using the wildcard * target.
Impact
These changes reduce the attack surface for cross-site attacks and ensure that sensitive user data (like SSO tokens and payment status) is handled
securely during cross-window interactions.