Windows PowerShell now warns when running Invoke-WebRequest scripts

Windows PowerShell now warns when running Invoke-WebRequest scripts

Microsoft has introduced a warning system in Windows PowerShell 5.1 when using Invoke-WebRequest to download web content, aimed at preventing the execution of malicious scripts. This update addresses the CVE-2025-54100 vulnerability, primarily affecting enterprise environments that rely on PowerShell scripts for automation. #CVE-2025-54100 #PowerShellVulnerability

Keypoints

  • Microsoft added warnings in PowerShell 5.1 for Invoke-WebRequest commands to prevent risky web script execution.
  • The update mitigates a high-severity remote code execution vulnerability affecting enterprise environments.
  • Users are prompted to either cancel the request or proceed with a safer, basic parsing method.
  • The change primarily impacts IT-managed systems and automation scripts using PowerShell.
  • PowerShell’s alias β€˜curl’ also triggers these security prompts, requiring script updates for safety.

Read More: https://www.bleepingcomputer.com/news/security/microsoft-windows-powershell-now-warns-when-running-invoke-webrequest-scripts/