Skip to content

Commit 9f9dee5

Browse files
apply documentation suggestions
Co-authored-by: mc <[email protected]>
1 parent d4bac88 commit 9f9dee5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

javascript/ql/src/Security/CWE-1275/SameSiteNoneCookie.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<overview>
77
<p>
88
Authentication cookies where the SameSite attribute is set to "None" can
9-
potentially be used to perform cross-site request forgery (CSRF) attacks
9+
potentially be used to perform Cross-Site Request Forgery (CSRF) attacks
1010
if no other CSRF protections are in place.
1111
</p>
1212
<p>
13-
With SameSite set to "None" a third party website may create an authorized cross-site request
13+
With SameSite set to "None", a third party website may create an authorized cross-site request
1414
that includes the cookie.
1515
Such a cross-site request can allow that website to perform actions on behalf of a user.
1616
</p>

javascript/ql/src/Security/CWE-1275/SameSiteNoneCookie.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @name Sensitive cookie without SameSite restrictions
33
* @description Sensitive cookies where the SameSite attribute is set to "None" can
4-
* in some cases allow for Cross-site request forgery (CSRF) attacks.
4+
* in some cases allow for Cross-Site Request Forgery (CSRF) attacks.
55
* @kind problem
66
* @problem.severity warning
77
* @security-severity 5.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: newQuery
33
---
4-
* A new query `js/samesite-none-cookie` has been added. The query detects when the SameSite attribute on a sensitive cookie is set to None.
4+
* A new query `js/samesite-none-cookie` has been added. The query detects when the SameSite attribute is set to None on a sensitive cookie.

0 commit comments

Comments
 (0)