Description (CNA)
Forgejo before 15.0.3 contains a stored cross-site scripting vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by setting a full name containing an HTML payload and triggering an Actions run. When the DEFAULT_SHOW_FULL_NAME option is enabled, the run description is assembled server-side with the user's display name interpolated into an HTML string via a translation function that does not escape its arguments, and the frontend renders the result using a Vue v-html binding, causing script execution for any user who views the affected Actions run page.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| forgejo / forgejo | affected 0 before 15.0.3 |
CWE
CWE-79
References
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.3.md
- https://github.com/geo-chen/oss/blob/main/forgejo.md
- https://codeberg.org/forgejo/forgejo/pulls/13002
- https://www.vulncheck.com/advisories/forgejo-stored-xss-via-actions-run-full-name-rendering
ADP enrichment
No English description supplied.
No references supplied.