Skip to content

Commit f95efde

Browse files
committed
Change the non-clickable part of alert message
The actual "string concatenation" location is found in the path information.
1 parent 375a26a commit f95efde

File tree

2 files changed

+92
-91
lines changed

2 files changed

+92
-91
lines changed

javascript/frameworks/cap/src/cqlinjection/CqlInjection.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ import advanced_security.javascript.frameworks.cap.CAPCqlInjectionQuery
1717
from CqlInjectionConfiguration sql, DataFlow::PathNode source, DataFlow::PathNode sink
1818
where sql.hasFlowPath(source, sink)
1919
select sink.getNode().(CqlInjectionSink).getQuery(), source, sink,
20-
"This CQL query depends on a $@.", source.getNode(), "user-provided value"
20+
"This CQL query contains a string concatenation with a $@.", source.getNode(),
21+
"user-provided value"

0 commit comments

Comments
 (0)