Skip to content

Add Solution 3 using TrustedHTML to XSS Example #27

Description

@dschwarz91

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions