add more attributes potentially vulnerable to xss-through-dom

This commit is contained in:
Erik Krogh Kristensen
2020-04-20 11:48:33 +02:00
parent 12f4ce8111
commit 73b0aa4004

View File

@@ -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"]
}
/**