# GHSA-W92X-GX4W-J5F2: pr-e2e.yml workflow is vulnerable

- Database: GitHub
- Severity: CVSS 2.4 (Low)
- Published: 2023-07-26
- Modified: 2023-07-26

## Affected versions

- e2e tests (Go): v2.11

## Description

### Summary
The **pr-e2e.yml** workflow is vulnerable to command injection attacks because of using an untrusted **event.comment.body** field.

### Details
Line 140: `MESSAGE="${{ github.event.comment.body }}"`

### PoC
Assigning the value of the issue comment body to `any-body"; echo hacked` can lead to command injection.

### Impact
Since the permission is not restricted, the attacker has a write-access to the repository.

## References

- https://github.com/kedacore/keda/security/advisories/GHSA-w92x-gx4w-j5f2

Page: https://cve.now/GHSA-W92X-GX4W-J5F2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
