CVE-2026-59102 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in Forgejo versions prior to 15.0.3. This vulnerability allows authenticated attackers to execute arbitrary JavaScript in the browsers of other users. The issue arises when the 'DEFAULT_SHOW_FULL_NAME' option is enabled, as the application interpolates unescaped user display names into an HTML string via a translation function. This improperly sanitized content is then rendered on the frontend using a Vue directive that allows HTML, facilitating script execution for anyone who views the affected Actions run page.
Users can update to Forgejo version 15.0.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 2, 2026CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://codeberg.org/forgejo/forgejo/pulls/13002 | [email protected] | Issue TrackingVendor |
| https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/15.0.3.md | [email protected] | Release NotesVendor |
| https://github.com/geo-chen/oss/blob/main/forgejo.md | [email protected] | Technical Analysis |
| https://www.vulncheck.com/advisories/forgejo-stored-xss-via-actions-run-full-name-rendering | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Forgejo | < 15.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2026 | New CVE Received | [email protected] |
Volerion