-
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
8e63c28
a8100f6
476ed60
91d2520
c6be638
d5e792d
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.