Skip to content

Defense against Mutation XSS attacks [WIP]#89

Open
vojtech-dobes wants to merge 3 commits intomasterfrom
mxss
Open

Defense against Mutation XSS attacks [WIP]#89
vojtech-dobes wants to merge 3 commits intomasterfrom
mxss

Conversation

@vojtech-dobes
Copy link
Copy Markdown
Owner

Fixes #88. Work in progress.

/cc @mishak87: is this correct approach? If this is correct implementation of TrueHTML, then 2 points must be resolved:

  • TrueHTML cannot be used if Object.defineProperty is not available (or broken in IE8) OR XmlSerializer isn't available
  • if TrueHTML cannot be used:
    • 1. HTML must be sanitized in different way
    • 2. nette.ajax.js will refuse to update snippet
    • 3. nette.ajax.js will update snippet but scream about security hole

@vojtech-dobes vojtech-dobes changed the title Mitigation of Mutation XSS attacks [WIP] Defense against Mutation XSS attacks [WIP] May 24, 2014
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.

Use TrueHTML to avoid mXSS

2 participants