File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<overview >
4
4
<p >
5
- Applications decoding JSON Web Token (JWT) may be misconfigured due to the <code >None</code > algorithm.
5
+ Applications decoding JSON Web Tokens (JWT) may be misconfigured due to the <code >None</code > algorithm.
6
6
</p >
7
7
<p >
8
8
The <code >None</code > algorithm is selected by calling the <code >verify()</code > function with a falsy value
9
9
instead of a cryptographic secret or key. The <code >None</code > algorithm disables the integrity enforcement of
10
- a JWT payload and may allow a malicious actor to make any desired changes to a JWT payload leading
10
+ a JWT payload and may allow a malicious actor to make unintended changes to a JWT payload leading
11
11
to critical security issues like privilege escalation.
12
12
</p >
13
13
@@ -21,8 +21,8 @@ Calls to <code>verify()</code> functions should use a cryptographic secret or ke
21
21
22
22
<example >
23
23
<p >
24
- In the example below <code >false</code > is used to disable the integrity enforcement of a JWT payload.
25
- This may allow a malicious actor to make any desired changes to a JWT payload.
24
+ In the example below, <code >false</code > is used to disable the integrity enforcement of a JWT payload.
25
+ This may allow a malicious actor to make changes to a JWT payload.
26
26
</p >
27
27
28
28
<sample src =" examples/missing-key-verification-bad.js" />
Original file line number Diff line number Diff line change 1
1
---
2
2
category : newQuery
3
3
---
4
- * A new query ` js/jwt-missing-verification ` has been added. The query detects applications that does not verify JWT tokens.
4
+ * A new query ` js/jwt-missing-verification ` has been added. The query detects applications that don't verify JWT tokens.
You can’t perform that action at this time.
0 commit comments