Skip to content

Commit 4eb1035

Browse files
committed
Documentation fixes
1 parent 655a984 commit 4eb1035

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/codeql/codeql-language-guides/customizing-library-models-for-java.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ The following sink kinds are supported:
349349
- **response-splitting**: A sink that can be used for HTTP response splitting, such as in calls to **HttpServletResponse.setHeader**.
350350
- **sql-injection**: A sink that can be used for SQL injection, such as in a **Statement.executeQuery** call.
351351
- **template-injection**: A sink that can be used for server side template injection, such as in a **Velocity.evaluate** call.
352-
- **trust-boundary-violation**: A sink that can be used to cross a trust boundary, such as a server's HTTP Session.
352+
- **trust-boundary-violation**: A sink that can be used to cross a trust boundary, such as in a **HttpSession.setAttribute** call.
353353
- **url-redirection**: A sink that can be used to redirect the user to a malicious URL, such as in a **Response.temporaryRedirect** call.
354354
- **xpath-injection**: A sink that can be used for XPath injection, such as in a **XPath.evaluate** call.
355355
- **xslt-injection**: A sink that can be used for XSLT injection, such as in a **Transformer.transform** call.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
category: newQuery
33
---
4-
* Added the `java/trust-boundary-violation` query to detect trust boundary violations between HTTP requests and the HTTP session.
4+
* Added the `java/trust-boundary-violation` query to detect trust boundary violations between HTTP requests and the HTTP session. Also added the `trust-boundary-violation` sink kind for sinks which may cross a trust boundary, such as calls to the `HttpSession#setAttribute` method.
55

0 commit comments

Comments
 (0)