New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

GitHub Actions: GitHub context variable exported as environment variable

Severity

Medium

Short Description

A GitHub context variable (such as issue title, PR description, or comment body) is being exported as an environment variable. These context values are user-controlled and could be exploited by subsequent workflow steps.

Suggestion

Carefully validate and sanitize GitHub context variables before exporting them as environment variables. Context variables like issue titles and PR bodies are user-controlled and can contain malicious content.