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

Add Solution 3 using TrustedHTML to XSS Example #27

Open
dschwarz91 opened this issue Oct 23, 2022 · 0 comments
Open

Add Solution 3 using TrustedHTML to XSS Example #27

dschwarz91 opened this issue Oct 23, 2022 · 0 comments

Comments

@dschwarz91
Copy link
Contributor

dschwarz91 commented Oct 23, 2022

Add a third solution for Example 6 - XSS, add an example of using Trusted Types / TrustedHTML to sanitize the untrusted data

At a first try I couldn't manage to activate it for a single page before the XSS payload got executed, see this comment:

@karlhorky karlhorky changed the title XSS Solution Trusted Types Add Solution 3 using Trusted Types to XSS Example Oct 24, 2022
@karlhorky karlhorky changed the title Add Solution 3 using Trusted Types to XSS Example Add Solution 3 using TrustedHTML to XSS Example Oct 24, 2022
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

No branches or pull requests

1 participant