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 a9062cc commit 1db6a64Copy full SHA for 1db6a64
javascript/ql/lib/semmle/javascript/dataflow/TaintTracking.qll
@@ -551,7 +551,10 @@ module TaintTracking {
551
or
552
// reading from a tainted object yields a tainted result
553
succ.(DataFlow::PropRead).getBase() = pred and
554
- not AccessPath::DominatingPaths::hasDominatingWrite(succ) and
+ not (
555
+ AccessPath::DominatingPaths::hasDominatingWrite(succ) and
556
+ exists(succ.(DataFlow::PropRead).getPropertyName())
557
+ ) and
558
not isSafeClientSideUrlProperty(succ) and
559
not ClassValidator::isAccessToSanitizedField(succ)
560
0 commit comments