Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusted Type Knockout #2580

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Trusted Type Knockout #2580

wants to merge 3 commits into from

Conversation

shhnjk
Copy link

@shhnjk shhnjk commented Oct 8, 2021

This change adds Trusted Types support to Knockout.

All the changes are behind typeof trustedTypes !== 'undefined', so this change should only affect Chromium users (where Trusted Types is supported). Unless developers who uses Knockout wants to enforce Trusted Types, this change won't affect anyone.

Note that this only prevents DOM-based XSS, so stored and reflected XSS are still possible.

Fixes #2579.

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.

Add support for Trusted Types
1 participant