diff --git a/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp b/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp index 4996733a302..91bd0ca9e49 100644 --- a/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp +++ b/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp @@ -15,10 +15,10 @@ If user input must be included in an XPath expression, pre-compile the query and references to include the user input.
-For exmaple, when using the github.com/moovweb/gokogiri API, this can be done by creating a custom subtype of
+For example, when using the github.com/moovweb/gokogiri API, this can be done by creating a custom subtype of
xpath.VariableScope, and implementing
ResolveVariable(string, string) to return the user provided data. This
-custom scope can be specified when calling SearchWithVariables(), EvalXPath() or EvalXPathAsBoolean().
+custom scope can be specified when calling SearchWithVariables(), EvalXPath(), or EvalXPathAsBoolean().