CVE-2026-59102
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| forgejo | forgejo | 0 < 15.0.3 | affected |
Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.