-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DOMPurify to address XSS issues; closes #420
- Loading branch information
1 parent
e1a3fa6
commit 887e6bf
Showing
26 changed files
with
26,537 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "DOMPurify", | ||
"version": "3.1.0", | ||
"homepage": "https://github.com/cure53/DOMPurify", | ||
"author": "Cure53 <[email protected]>", | ||
"description": "A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG", | ||
"main": "src/purify.js", | ||
"keywords": [ | ||
"dom", | ||
"xss", | ||
"cross site scripting", | ||
"html", | ||
"svg", | ||
"mathml", | ||
"sanitizer", | ||
"filter", | ||
"sanitize", | ||
"security", | ||
"secure" | ||
], | ||
"license": [ | ||
"MPL-2.0", | ||
"Apache-2.0" | ||
], | ||
"ignore": [ | ||
"**/.*", | ||
"demos", | ||
"scripts", | ||
"test", | ||
"website" | ||
], | ||
"_release": "3.1.0", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "3.1.0", | ||
"commit": "db19269d8f9029cba78eabc9d6b52e73c31702ad" | ||
}, | ||
"_source": "https://github.com/cure53/DOMPurify.git", | ||
"_target": "^3.1.0", | ||
"_originalSource": "DOMPurify", | ||
"_direct": true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Supported Versions | ||
|
||
Always the latest release. | ||
|
||
## Reporting a Vulnerability | ||
|
||
First of all, please immediately contact us via [email](mailto:[email protected]) so we can work on a fix. [PGP key](https://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0xC26C858090F70ADA) | ||
|
||
Also, you probably qualify for a bug bounty! The fine folks over at [Fastmail](https://www.fastmail.com/) use DOMPurify for their services and added our library to their bug bounty scope. So, if you find a way to bypass or weaken DOMPurify, please also have a look at their website and the [bug bounty info](https://www.fastmail.com/about/bugbounty/). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "DOMPurify", | ||
"version": "3.1.0", | ||
"homepage": "https://github.com/cure53/DOMPurify", | ||
"author": "Cure53 <[email protected]>", | ||
"description": "A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG", | ||
"main": "src/purify.js", | ||
"keywords": [ | ||
"dom", | ||
"xss", | ||
"cross site scripting", | ||
"html", | ||
"svg", | ||
"mathml", | ||
"sanitizer", | ||
"filter", | ||
"sanitize", | ||
"security", | ||
"secure" | ||
], | ||
"license": [ | ||
"MPL-2.0", | ||
"Apache-2.0" | ||
], | ||
"ignore": [ | ||
"**/.*", | ||
"demos", | ||
"scripts", | ||
"test", | ||
"website" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.