Description (CNA)
LiveCode is an open-source, client-side code playground. Prior to commit e151c64c2bd80d2d53ac1333f1df9429fe6a1a11, LiveCode's `i18n-update-pull` GitHub Actions workflow is vulnerable to JavaScript injection. The title of the Pull Request associated with the triggering issue comment is interpolated directly into a `actions/github-script` JavaScript block using a GitHub Actions template expression. An attacker who opens a PR with a crafted title can inject arbitrary JavaScript that executes with the privileges of the CI bot token (`CI_APP_ID` / `CI_APP_PRIVATE_KEY`), enabling exfiltration of repository secrets and unauthorized GitHub API operations. Commit e151c64c2bd80d2d53ac1333f1df9429fe6a1a11 fixes the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| live-codes / livecodes | affected < e151c64c2bd80d2d53ac1333f1df9429fe6a1a11 |
CWE
CWE-94
References
- https://github.com/live-codes/livecodes/security/advisories/GHSA-xh9w-5859-x97j
- https://github.com/live-codes/livecodes/commit/e151c64c2bd80d2d53ac1333f1df9429fe6a1a11
ADP enrichment
No English description supplied.