-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Python: MaD barriers #21004
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
base: main
Are you sure you want to change the base?
Python: MaD barriers #21004
Changes from all commits
699ed50
3dbfb9f
da2f77d
75bd4a7
15980cb
b08c972
7f00a7f
d05901a
55abc52
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -101,13 +101,7 @@ module IncompleteHtmlAttributeSanitization { | |||||
| } | ||||||
| } | ||||||
|
|
||||||
| /** | ||||||
| * An encoder for potentially malicious characters, as a sanitizer | ||||||
| * for incomplete HTML sanitization vulnerabilities. | ||||||
| */ | ||||||
| class EncodingSanitizer extends Sanitizer { | ||||||
| EncodingSanitizer() { | ||||||
| this = DataFlow::globalVarRef(["encodeURIComponent", "encodeURI"]).getACall() | ||||||
| } | ||||||
| private class SanitizerFromModel extends Sanitizer { | ||||||
| SanitizerFromModel() { ModelOutput::barrierNode(this, "request-forgery") } | ||||||
|
||||||
| SanitizerFromModel() { ModelOutput::barrierNode(this, "request-forgery") } | |
| SanitizerFromModel() { ModelOutput::barrierNode(this, "incomplete-html-attribute-sanitization") } |
Uh oh!
There was an error while loading. Please reload this page.