mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JS: Add new sink to test
This commit is contained in:
@@ -19,5 +19,6 @@ export class Source {
|
||||
|
||||
methodOnComponent(x) {
|
||||
this.sanitizer.bypassSecurityTrustHtml(x);
|
||||
this.elementRef.nativeElement.innerHTML = x;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ taintFlow
|
||||
| source.component.ts:15:22:15:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
|
||||
| source.component.ts:15:22:15:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
|
||||
| source.component.ts:15:22:15:29 | source() | source.component.ts:21:48:21:48 | x |
|
||||
| source.component.ts:15:22:15:29 | source() | source.component.ts:22:51:22:51 | x |
|
||||
| source.component.ts:16:33:16:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
|
||||
testAttrSourceLocation
|
||||
| inline.component.ts:8:43:8:60 | [testAttr]=taint | inline.component.ts:8:55:8:59 | <toplevel> |
|
||||
|
||||
Reference in New Issue
Block a user