We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472b41f commit 6d9b96fCopy full SHA for 6d9b96f
javascript/ql/src/semmle/javascript/security/dataflow/Xss.qll
@@ -331,7 +331,7 @@ module DomBasedXss {
331
* A write to the `template` option of a Vue instance, viewed as an XSS sink.
332
*/
333
class VueTemplateSink extends DomBasedXss::Sink {
334
- VueTemplateSink() { this = any(Vue::Instance i).getTemplate() }
+ VueTemplateSink() { this = any(Vue::Instance i).getOption("template") }
335
}
336
337
/**
0 commit comments