Socket
Book a DemoInstallSign in
Socket

GitHub Actions: GitHub context variable passed back as output

Severity

Medium

Short Description

A GitHub context variable (such as issue title, PR description, or comment body) is being passed back as an output. These context values are user-controlled and could be exploited by consuming workflows.

Suggestion

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