mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
add more attributes potentially vulnerable to xss-through-dom
This commit is contained in:
@@ -44,7 +44,8 @@ module XssThroughDom {
|
||||
bindingset[result]
|
||||
string unsafeAttributeName() {
|
||||
result.regexpMatch("data-.*") or
|
||||
result = ["name", "value"]
|
||||
result.regexpMatch("aria-.*") or
|
||||
result = ["name", "value", "title", "alt"]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user