Skip to content

Commit 76c0cb7

Browse files
committed
Add link to OWASP
1 parent a93c07c commit 76c0cb7

File tree

8 files changed

+22
-20
lines changed

8 files changed

+22
-20
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,8 @@ property, use the **ApplicationArguments** parameter of the
586586
> [!IMPORTANT]
587587
> Since this property contains data explicitly provided by the client, using
588588
> this for security decisions could allow attackers to bypass authorization
589-
> controls. Never use this data for trust decisions. Validate all user input
590-
> when used for other application logic.
589+
> controls. Never use this data for trust decisions.
590+
> [Validate all user input][78] when used for other application logic.
591591
592592
### `$PSUICulture`
593593

@@ -1120,6 +1120,4 @@ Default (Current): End
11201120
[75]: xref:System.Collections.IEnumerator.Current
11211121
[76]: xref:System.Collections.IEnumerator.MoveNext
11221122
[77]: xref:System.Collections.IEnumerator.Reset
1123-
1124-
1125-
1123+
[78]: https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/

reference/5.1/Microsoft.PowerShell.Core/New-PSSessionOption.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,12 @@ parameter to send data to the remote session.
275275
> [!IMPORTANT]
276276
> Since this property contains data explicitly provided by the client, using this for security
277277
> decisions could allow attackers to bypass authorization controls. Never use this data for trust
278-
> decisions. Validate all user input when used for other application logic.
278+
> decisions. [Validate all user input](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/)
279+
> when used for other application logic.
279280
280-
For more information, see [about_Hash_Tables](about/about_Hash_Tables.md),
281+
For more information, see [about_Hash_Tables](About/about_Hash_Tables.md),
281282
[about_Session_Configurations](About/about_Session_Configurations.md), and
282-
[about_Automatic_Variables](about/about_Automatic_Variables.md).
283+
[about_Automatic_Variables](About/about_Automatic_Variables.md).
283284

284285
```yaml
285286
Type: System.Management.Automation.PSPrimitiveDictionary

reference/7.4/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ property, use the **ApplicationArguments** parameter of the
622622
> [!IMPORTANT]
623623
> Since this property contains data explicitly provided by the client, using
624624
> this for security decisions could allow attackers to bypass authorization
625-
> controls. Never use this data for trust decisions. Validate all user input
626-
> when used for other application logic.
625+
> controls. Never use this data for trust decisions.
626+
> [Validate all user input][78] when used for other application logic.
627627
628628
### `$PSUICulture`
629629

@@ -1160,4 +1160,4 @@ Default (Current): End
11601160
[75]: xref:System.Collections.IEnumerator.Current
11611161
[76]: xref:System.Collections.IEnumerator.MoveNext
11621162
[77]: xref:System.Collections.IEnumerator.Reset
1163-
1163+
[78]: https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/

reference/7.4/Microsoft.PowerShell.Core/New-PSSessionOption.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ parameter to send data to the remote session.
275275
> [!IMPORTANT]
276276
> Since this property contains data explicitly provided by the client, using this for security
277277
> decisions could allow attackers to bypass authorization controls. Never use this data for trust
278-
> decisions. Validate all user input when used for other application logic.
278+
> decisions. [Validate all user input](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/)
279+
> when used for other application logic.
279280
280281
For more information, see [about_Hash_Tables](About/about_Hash_Tables.md),
281282
[about_Session_Configurations](About/about_Session_Configurations.md), and

reference/7.5/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ property, use the **ApplicationArguments** parameter of the
622622
> [!IMPORTANT]
623623
> Since this property contains data explicitly provided by the client, using
624624
> this for security decisions could allow attackers to bypass authorization
625-
> controls. Never use this data for trust decisions. Validate all user input
626-
> when used for other application logic.
625+
> controls. Never use this data for trust decisions.
626+
> [Validate all user input][78] when used for other application logic.
627627
628628
### `$PSUICulture`
629629

@@ -1160,4 +1160,4 @@ Default (Current): End
11601160
[75]: xref:System.Collections.IEnumerator.Current
11611161
[76]: xref:System.Collections.IEnumerator.MoveNext
11621162
[77]: xref:System.Collections.IEnumerator.Reset
1163-
1163+
[78]: https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/

reference/7.5/Microsoft.PowerShell.Core/New-PSSessionOption.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ parameter to send data to the remote session.
275275
> [!IMPORTANT]
276276
> Since this property contains data explicitly provided by the client, using this for security
277277
> decisions could allow attackers to bypass authorization controls. Never use this data for trust
278-
> decisions. Validate all user input when used for other application logic.
278+
> decisions. [Validate all user input](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/)
279+
> when used for other application logic.
279280
280281
For more information, see [about_Hash_Tables](About/about_Hash_Tables.md),
281282
[about_Session_Configurations](About/about_Session_Configurations.md), and

reference/7.6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ property, use the **ApplicationArguments** parameter of the
622622
> [!IMPORTANT]
623623
> Since this property contains data explicitly provided by the client, using
624624
> this for security decisions could allow attackers to bypass authorization
625-
> controls. Never use this data for trust decisions. Validate all user input
626-
> when used for other application logic.
625+
> controls. Never use this data for trust decisions.
626+
> [Validate all user input][78] when used for other application logic.
627627
628628
### `$PSUICulture`
629629

@@ -1160,4 +1160,4 @@ Default (Current): End
11601160
[75]: xref:System.Collections.IEnumerator.Current
11611161
[76]: xref:System.Collections.IEnumerator.MoveNext
11621162
[77]: xref:System.Collections.IEnumerator.Reset
1163-
1163+
[78]: https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/

reference/7.6/Microsoft.PowerShell.Core/New-PSSessionOption.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ parameter to send data to the remote session.
275275
> [!IMPORTANT]
276276
> Since this property contains data explicitly provided by the client, using this for security
277277
> decisions could allow attackers to bypass authorization controls. Never use this data for trust
278-
> decisions. Validate all user input when used for other application logic.
278+
> decisions. [Validate all user input](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/)
279+
> when used for other application logic.
279280
280281
For more information, see [about_Hash_Tables](About/about_Hash_Tables.md),
281282
[about_Session_Configurations](About/about_Session_Configurations.md), and

0 commit comments

Comments
 (0)